[gtk+/nth-child: 28/33] css: Don't infloop when resyncing over a slash



commit 033d99c2ad23d9ab2c60fd214a4d4591c61e6f44
Author: Benjamin Otte <otte redhat com>
Date:   Sat May 28 00:07:10 2011 +0200

    css: Don't infloop when resyncing over a slash

 gtk/gtkcssparser.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkcssparser.c b/gtk/gtkcssparser.c
index 5b4ff48..3aab85e 100644
--- a/gtk/gtkcssparser.c
+++ b/gtk/gtkcssparser.c
@@ -898,7 +898,9 @@ _gtk_css_parser_resync_internal (GtkCssParser *parser,
           }
         parser->data++;
         continue;
+      case '/':
       default:
+        parser->data++;
         break;
       }
   } while (*parser->data);



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