aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/uzbl-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/uzbl-core.c')
-rw-r--r--src/uzbl-core.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/uzbl-core.c b/src/uzbl-core.c
index a4d43af..936dbdc 100644
--- a/src/uzbl-core.c
+++ b/src/uzbl-core.c
@@ -622,6 +622,9 @@ print(WebKitWebView *page, GArray *argv, GString *result) {
(void) page; (void) result;
gchar* buf;
+ if(!result)
+ return;
+
buf = expand(argv_idx(argv, 0), 0);
g_string_assign(result, buf);
g_free(buf);