From be6c0584240caf420b2475a0be036391e842e8af Mon Sep 17 00:00:00 2001 From: alberth Date: Sat, 24 Jul 2010 10:14:39 +0000 Subject: (svn r20211) -Codechange: Indented code should have curly braces around it. --- src/debug.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/debug.cpp') diff --git a/src/debug.cpp b/src/debug.cpp index 85c42bdaf..a13cb0efa 100644 --- a/src/debug.cpp +++ b/src/debug.cpp @@ -142,11 +142,12 @@ void SetDebugString(const char *s) /* check debugging levels */ p = NULL; - for (i = debug_level; i != endof(debug_level); ++i) + for (i = debug_level; i != endof(debug_level); ++i) { if (s == t + strlen(i->name) && strncmp(t, i->name, s - t) == 0) { p = i->level; break; } + } if (*s == '=') s++; v = strtoul(s, &end, 0); -- cgit v1.2.3-54-g00ecf