[project @ 2006-01-25 00:33:00 by rjw]

Supress error message if parent window is already closed.

svn path=/import/netsurf/; revision=2037
This commit is contained in:
Richard Wilson 2006-01-25 00:33:00 +00:00
parent 921367f377
commit 3a3e27b7c6

View File

@ -357,7 +357,8 @@ void ro_gui_dialog_close(wimp_w close)
persistent_dialog[i].parent,
wimp_ICON_WINDOW, -100, -100,
32, -1);
if (error) {
/* parent may have been closed first */
if ((error) && (error->errnum != 0x287)) {
LOG(("xwimp_set_caret_position: "
"0x%x: %s",
error->errnum,