aboutsummaryrefslogtreecommitdiffhomepage
path: root/uzbl-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'uzbl-core.c')
-rw-r--r--uzbl-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uzbl-core.c b/uzbl-core.c
index c74df19..6be2c7c 100644
--- a/uzbl-core.c
+++ b/uzbl-core.c
@@ -201,7 +201,7 @@ expand(const char *s, guint recurse) {
GString *buf = g_string_new("");
GString *js_ret = g_string_new("");
- while(*s) {
+ while(s && *s) {
switch(*s) {
case '\\':
g_string_append_c(buf, *++s);