diff options
| author | Eleni Maria Stea <elenimaria.stea@canonical.com> | 2014-02-03 20:46:31 +0200 | 
|---|---|---|
| committer | Eleni Maria Stea <elenimaria.stea@canonical.com> | 2014-02-03 20:46:31 +0200 | 
| commit | 411617a981da97bef55835b0bd944742f3027be3 (patch) | |
| tree | df918ee774a29da7070c0f6e0cbc59f765359f39 | |
| parent | 9aa0d7c39fcded23a6f5e2643f8d8df86d973052 (diff) | |
fixed indent issue
(bzr r3638.2.2)
| -rw-r--r-- | unity-shared/ConfigParser.cpp | 18 | 
1 files changed, 9 insertions, 9 deletions
| diff --git a/unity-shared/ConfigParser.cpp b/unity-shared/ConfigParser.cpp index 737e3a0f6..5cc52f77a 100644 --- a/unity-shared/ConfigParser.cpp +++ b/unity-shared/ConfigParser.cpp @@ -272,16 +272,16 @@ int cfgstr_set_int (ConfigString *cfgstr, const char *key, int value)  static char *strip_whitespace (char *buf)  { -	while (*buf && isspace(*buf)) -	buf++; + while (*buf && isspace(*buf)) + buf++; -	if (!*buf) -	return 0; + if (!*buf) + return 0; -	char *end = buf + strlen(buf) - 1; -	while (end > buf && isspace(*end)) -	end--; + char *end = buf + strlen(buf) - 1; + while (end > buf && isspace(*end)) + end--; -	end[1] = 0; -	return buf; + end[1] = 0; + return buf;  } | 
