summaryrefslogtreecommitdiff
path: root/src/html.c
diff options
context:
space:
mode:
authorportix <portix@gmx.net>2011-06-26 21:33:04 +0200
committerportix <portix@gmx.net>2011-06-26 21:33:04 +0200
commit8ad841cd1cdebc6fa80bc382f46cada05e365316 (patch)
treeb0c33a55f5dfae66f918020360786f2769b1dfcd /src/html.c
parent5b698f76c527268fa480bf638001dd8905350e9b (diff)
downloaddwb-8ad841cd1cdebc6fa80bc382f46cada05e365316.zip
CSS for settings
Diffstat (limited to 'src/html.c')
-rw-r--r--src/html.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/html.c b/src/html.c
index 2db3f3d7..4f31ccbb 100644
--- a/src/html.c
+++ b/src/html.c
@@ -37,6 +37,7 @@ dwb_html_load_page(WebKitWebView *wv, HtmlTable *t, char *panel) {
GString *content = g_string_new(NULL);
char *path = dwb_util_get_data_file(t->file);
char *headpath = dwb_util_get_data_file(HEAD_FILE);
+
if (path && headpath) {
/* load head */
g_file_get_contents(headpath, &filecontent, NULL, NULL);