diff options
Diffstat (limited to 'src/helper')
-rw-r--r-- | src/helper/jim.c | 8 | ||||
-rw-r--r-- | src/helper/options.c | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/helper/jim.c b/src/helper/jim.c index 84ac39b5..ab0b18c6 100644 --- a/src/helper/jim.c +++ b/src/helper/jim.c @@ -504,7 +504,7 @@ static jim_wide JimPowWide(jim_wide b, jim_wide e) { jim_wide i, res = 1; if ((b==0 && e!=0) || (e<0)) return 0; - for(i=0; i<e; i++) {res *= b;} + for (i=0; i<e; i++) {res *= b;} return res; } @@ -10425,7 +10425,7 @@ static int Jim_SwitchCoreCommand(Jim_Interp *interp, int argc, script = caseList[i+1]; } } - for(; i < patCount && Jim_CompareStringImmediate(interp, script, "-"); + for (; i < patCount && Jim_CompareStringImmediate(interp, script, "-"); i += 2) script = caseList[i+1]; if (script && Jim_CompareStringImmediate(interp, script, "-")) { @@ -12599,7 +12599,7 @@ Jim_GetOpt_Debug( Jim_GetOptInfo *p ) int x; Jim_fprintf( p->interp, p->interp->cookie_stderr, "---args---\n"); - for( x = 0 ; x < p->argc ; x++ ){ + for ( x = 0 ; x < p->argc ; x++ ){ Jim_fprintf( p->interp, p->interp->cookie_stderr, "%2d) %s\n", x, @@ -12823,7 +12823,7 @@ Jim_Debug_ArgvString( Jim_Interp *interp, int argc, Jim_Obj *const *argv ) } debug_string_obj = Jim_NewEmptyStringObj( interp ); - for( x = 0 ; x < argc ; x++ ){ + for ( x = 0 ; x < argc ; x++ ){ Jim_AppendStrings( interp, debug_string_obj, Jim_GetString( argv[x], NULL ), diff --git a/src/helper/options.c b/src/helper/options.c index c48939e5..23491d3f 100644 --- a/src/helper/options.c +++ b/src/helper/options.c @@ -90,7 +90,7 @@ int add_default_dirs(void) GetModuleFileName (NULL, strExePath, MAX_PATH); *strrchr(strExePath, '\\')=0; strcat(strExePath, "/../lib/"PACKAGE); - for(p=strExePath; *p; p++) { + for (p=strExePath; *p; p++) { if (*p == '\\') *p = '/'; } |