diff options
author | Ole Loots <ole@monochrom.net> | 2013-04-11 00:51:05 +0200 |
---|---|---|
committer | Ole Loots <ole@monochrom.net> | 2013-04-11 00:51:05 +0200 |
commit | ef4b7e75c4420550a87387e63a299e46fef9e96d (patch) | |
tree | 9c7d35f4efc2b6e08b07cd8ca80ad940dc0809dc | |
parent | 12aebe1fa1d9292085adb21604baf4a5d77e3953 (diff) | |
download | netsurf-ef4b7e75c4420550a87387e63a299e46fef9e96d.tar.gz netsurf-ef4b7e75c4420550a87387e63a299e46fef9e96d.tar.bz2 |
Show message box on error.
-rwxr-xr-x | atari/hotlist.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/atari/hotlist.c b/atari/hotlist.c index c25640b66..dbf9f1bb1 100755 --- a/atari/hotlist.c +++ b/atari/hotlist.c @@ -44,9 +44,6 @@ #include "atari/gemtk/gemtk.h" #include "atari/res/netsurf.rsh" -//TODO: remove/add guiwin handle on close / open - so that the list -// is kept tiny. - extern GRECT desk_area; struct atari_hotlist hl; @@ -124,7 +121,8 @@ void hotlist_init(void) handle = wind_create(flags, 0, 0, desk_area.g_w, desk_area.g_h); hl.window = gemtk_wm_add(handle, GEMTK_WM_FLAG_DEFAULTS, NULL); if( hl.window == NULL ) { - LOG(("Failed to allocate Hotlist")); + gemtk_msg_box_show(GEMTK_MSG_BOX_ALERT, + "Failed to allocate Hotlist"); return; } wind_set_str(handle, WF_NAME, (char*)messages_get("Hotlist")); |