[gtk+] css: We want to unescape backslashes, not slashes



commit beccec296b69c7228c1057418e037b7ce21a93dd
Author: Benjamin Otte <otte redhat com>
Date:   Sat May 28 00:06:46 2011 +0200

    css: We want to unescape backslashes, not slashes

 gtk/gtkcssparser.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcssparser.c b/gtk/gtkcssparser.c
index cd31938..5b4ff48 100644
--- a/gtk/gtkcssparser.c
+++ b/gtk/gtkcssparser.c
@@ -851,7 +851,7 @@ _gtk_css_parser_resync_internal (GtkCssParser *parser,
 
     switch (*parser->data)
       {
-      case '/':
+      case '\\':
         {
           GString *ignore = g_string_new (NULL);
           _gtk_css_parser_unescape (parser, ignore);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]