diff options
author | Benjamin Otte <otte@redhat.com> | 2014-05-01 19:48:40 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2014-05-05 15:48:02 +0200 |
commit | 65c4c1555d0634c063c3aa354620de260e4aaf7f (patch) | |
tree | 9bff0b9b593e2304f8fe58fe564c1b3e426c8791 /gtk/gtkcssparser.c | |
parent | b356d814106bd33448a141423b4059e60db9b377 (diff) | |
download | gtk+-65c4c1555d0634c063c3aa354620de260e4aaf7f.tar.gz |
css: Fix printing code for CSS strings and idents
It used to infloop on special characters.
Diffstat (limited to 'gtk/gtkcssparser.c')
-rw-r--r-- | gtk/gtkcssparser.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkcssparser.c b/gtk/gtkcssparser.c index 16505a320e..de78ae6fb1 100644 --- a/gtk/gtkcssparser.c +++ b/gtk/gtkcssparser.c @@ -1051,6 +1051,7 @@ _gtk_css_print_string (GString *str, g_assert_not_reached (); break; } + string++; } while (*string); g_string_append_c (str, '"'); |