From 9d8fa486af824039fae197212d83365242511da5 Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 18 Apr 2008 04:37:06 +0000 Subject: (svn r12761) -Codechange: lots of minor whitespace coding style fixes around operators. --- src/settings.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/settings.cpp') diff --git a/src/settings.cpp b/src/settings.cpp index e4a98942d..307db3ecc 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -83,7 +83,7 @@ static void pool_free(SettingsMemoryPool **pool); static bool IsSignedVarMemType(VarType vt); struct SettingsMemoryPool { - uint pos,size; + uint pos, size; SettingsMemoryPool *next; byte mem[1]; }; @@ -242,7 +242,7 @@ static IniFile *ini_load(const char *filename) /* trim whitespace from right side. */ e = s + strlen(s); - while (e > s && ((c=e[-1]) == '\n' || c == '\r' || c == ' ' || c == '\t')) e--; + while (e > s && ((c = e[-1]) == '\n' || c == '\r' || c == ' ' || c == '\t')) e--; *e = '\0'; /* skip comments and empty lines */ @@ -253,7 +253,7 @@ static IniFile *ini_load(const char *filename) /* add to comment */ if (ns > a) { a = max(a, 128U); - do a*=2; while (a < ns); + do a *= 2; while (a < ns); comment = ReallocT(comment, comment_alloc = a); } pos = comment_size; -- cgit v1.2.3-54-g00ecf