diff options
Diffstat (limited to 'src/bltConfig.C')
-rw-r--r-- | src/bltConfig.C | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/bltConfig.C b/src/bltConfig.C index 9ac7e2d..215a6ab 100644 --- a/src/bltConfig.C +++ b/src/bltConfig.C @@ -57,7 +57,7 @@ static int PointSetProc(ClientData clientData, Tcl_Interp *interp, Tk_Window tkwin, Tcl_Obj** objPtr, char* widgRec, int offset, char* save, int flags) { - XPoint* pointPtr = (XPoint*)(widgRec+offset); + XPoint* pointPtr = (XPoint*)(widgRec + offset); int x, y; if (Blt_GetXY(interp, tkwin, Tcl_GetString(*objPtr), &x, &y) != TCL_OK) @@ -72,7 +72,7 @@ static int PointSetProc(ClientData clientData, Tcl_Interp *interp, static Tcl_Obj* PointGetProc(ClientData clientData, Tk_Window tkwin, char *widgRec, int offset) { - XPoint* pointPtr = (XPoint*)(widgRec+offset); + XPoint* pointPtr = (XPoint*)(widgRec + offset); if ((pointPtr->x != -SHRT_MAX) && (pointPtr->y != -SHRT_MAX)) { char string[200]; @@ -95,7 +95,7 @@ static int DashesSetProc(ClientData clientData, Tcl_Interp *interp, Tk_Window tkwin, Tcl_Obj** objPtr, char* widgRec, int offset, char* save, int flags) { - Blt_Dashes* dashesPtr = (Blt_Dashes*)(widgRec+offset); + Blt_Dashes* dashesPtr = (Blt_Dashes*)(widgRec + offset); int length; const char* string = Tcl_GetStringFromObj(*objPtr, &length); @@ -176,7 +176,7 @@ static int DashesSetProc(ClientData clientData, Tcl_Interp *interp, static Tcl_Obj* DashesGetProc(ClientData clientData, Tk_Window tkwin, char *widgRec, int offset) { - Blt_Dashes* dashesPtr = (Blt_Dashes*)(widgRec+offset); + Blt_Dashes* dashesPtr = (Blt_Dashes*)(widgRec + offset); // count how many int cnt =0; @@ -207,7 +207,7 @@ static int ListSetProc(ClientData clientData, Tcl_Interp *interp, Tk_Window tkwin, Tcl_Obj** objPtr, char* widgRec, int offset, char* save, int flags) { - const char*** listPtr = (const char***)(widgRec+offset); + const char*** listPtr = (const char***)(widgRec + offset); const char** argv; int argc; @@ -226,7 +226,7 @@ static int ListSetProc(ClientData clientData, Tcl_Interp *interp, static Tcl_Obj* ListGetProc(ClientData clientData, Tk_Window tkwin, char *widgRec, int offset) { - const char*** listPtr = (const char***)(widgRec+offset); + const char*** listPtr = (const char***)(widgRec + offset); // count how many int cnt=0; |