changeset 3823:860392c82b29

Fix the UTF-8 handling of tuple (empty)? check.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 20 Oct 2007 06:17:56 +0300
parents c597262d6d50
children 9ecd41c7f348
files src/audacious/tuple_compiler.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/tuple_compiler.c	Sat Oct 20 06:16:34 2007 +0300
+++ b/src/audacious/tuple_compiler.c	Sat Oct 20 06:17:56 2007 +0300
@@ -710,7 +710,7 @@
             while (result && *tmps2 != '\0') {
               gunichar uc = g_utf8_get_char(tmps2);
               if (g_unichar_isspace(uc))
-                g_utf8_next_char(tmps2);
+                tmps2 = g_utf8_next_char(tmps2);
               else
                 result = FALSE;
             }