diff options
author | portix <portix@gmx.net> | 2011-06-30 00:44:51 +0200 |
---|---|---|
committer | portix <portix@gmx.net> | 2011-06-30 00:44:51 +0200 |
commit | b064ba38987a2204fda2935ac310eb75e554c863 (patch) | |
tree | 2cff0a5e1f2dd01e226b718f9d8df3f0894a8c70 /src/html.c | |
parent | 3f0c1d67d0305ddf48575b04b9572e39340cb81b (diff) | |
download | dwb-b064ba38987a2204fda2935ac310eb75e554c863.zip |
Headpath and path in html.c interchanged
Diffstat (limited to 'src/html.c')
-rw-r--r-- | src/html.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -43,12 +43,12 @@ dwb_html_load_page(WebKitWebView *wv, HtmlTable *t, char *panel) { if (path && headpath) { /* load head */ - g_file_get_contents(path, &filecontent, NULL, NULL); + g_file_get_contents(headpath, &filecontent, NULL, NULL); g_string_append_printf(content, filecontent, t->title); g_free(filecontent); FREE(headpath); /* load content */ - g_file_get_contents(headpath, &filecontent, NULL, NULL); + g_file_get_contents(path, &filecontent, NULL, NULL); if (panel) g_string_append_printf(content, filecontent, panel); webkit_web_frame_load_alternate_string(webkit_web_view_get_main_frame(wv), content->str, current_uri, current_uri); |