summaryrefslogtreecommitdiff
path: root/render/html.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/html.c')
-rw-r--r--render/html.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/render/html.c b/render/html.c
index 68eb11cd2..c809ee159 100644
--- a/render/html.c
+++ b/render/html.c
@@ -51,6 +51,7 @@
#include "desktop/browser.h"
#include "desktop/gui_utf8.h"
#include "desktop/gui_layout.h"
+#include "desktop/gui_misc.h"
#include "desktop/gui_internal.h"
#include "render/box.h"
@@ -2078,7 +2079,7 @@ static bool html_drop_file_at_point(struct content *c, int x, int y, char *file)
assert(ret != NSERROR_BAD_ENCODING);
LOG("local to utf8 encoding failed");
free(buffer);
- warn_user("NoMemory", NULL);
+ guit->misc->warning("NoMemory", NULL);
return true;
}