diff options
-rw-r--r-- | src/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c index 6a0336349..1e65cfeb8 100644 --- a/src/main.c +++ b/src/main.c @@ -66,8 +66,9 @@ error_msg(const gchar *msg) if ((p = strchr(msg, '}')) == NULL) return msg; - while (p && *p && (*p=='}' || *p==' ')) + do { p++; + } while (*p == '}' || * p== ' '); return p; } |