Fix some typos in docs and examples and make the code look nicer.

This commit is contained in:
sunoru 2016-12-31 23:06:56 +08:00
commit 8985c34809
45 changed files with 717 additions and 717 deletions

View file

@ -135,7 +135,7 @@ int wrap_fact(ClientData clientData, Tcl_Interp *interp, int argc, char *argv[])
}
arg0 = atoi(argv[1]);
result = fact(arg0);
sprintf(interp->result,"%d", result);
sprintf(interp->result, "%d", result);
return TCL_OK;
}
@ -247,7 +247,7 @@ representation of a structure. For example,
struct Vector {
Vector();
~Vector();
double x,y,z;
double x, y, z;
};
</pre></div>
@ -302,7 +302,7 @@ class Vector {
public:
Vector();
~Vector();
double x,y,z;
double x, y, z;
};
</pre></div>