Commit 65c4c155 authored by Benjamin Otte's avatar Benjamin Otte

css: Fix printing code for CSS strings and idents

It used to infloop on special characters.
parent b356d814
......@@ -1051,6 +1051,7 @@ _gtk_css_print_string (GString *str,
g_assert_not_reached ();
break;
}
string++;
} while (*string);
g_string_append_c (str, '"');
......
......@@ -111,6 +111,7 @@ gtk_css_value_ident_print (const GtkCssValue *value,
g_assert_not_reached ();
break;
}
string++;
} while (*string);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment