diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-07-16 09:00:50 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2014-07-16 09:00:50 -0500 |
commit | a66b3889574a355fe900cbb8d8e5d39c82043de9 (patch) | |
tree | 65ba9c0d9421d83d119f42c243c1e5ff0c634533 /src/service.c | |
parent | 53bf4a35a2fb23a97756fd758ad7de84a1565688 (diff) | |
download | ayatana-indicator-session-a66b3889574a355fe900cbb8d8e5d39c82043de9.tar.gz ayatana-indicator-session-a66b3889574a355fe900cbb8d8e5d39c82043de9.tar.bz2 ayatana-indicator-session-a66b3889574a355fe900cbb8d8e5d39c82043de9.zip |
tweak unescape comment for readability
Diffstat (limited to 'src/service.c')
-rw-r--r-- | src/service.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/service.c b/src/service.c index 4c32f8b..c9d1b13 100644 --- a/src/service.c +++ b/src/service.c @@ -367,7 +367,7 @@ get_os_release (void) val = g_string_new(in); for (i=0; i<val->len; ) { - if (val->str[i]=='\\' && ((i+1)<val->len)) /* unescape */ + if (val->str[i]=='\\' && ((i+1)<val->len)) /* unescape: skip 1, keep 1 */ g_string_erase (val, i++, 1); else if ((val->str[i]=='\'') || (val->str[i]=='"') || (val->str[i]=='\n')) /* skip */ |