summaryrefslogtreecommitdiff
path: root/hw/xwin/winprefs.c
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2016-06-20 16:49:53 +0100
committerJon Turney <jon.turney@dronecode.org.uk>2016-06-20 16:49:53 +0100
commit9c19fd2a809bc507ba4145d82b890f90cf67012a (patch)
tree5a7e23d618cbc04b96b315e972826c4a442fb459 /hw/xwin/winprefs.c
parent2105ed7cb72432bc5a57ac4fe77e233b9f6cfbdc (diff)
parent08d03eb689c1e0444fc4d7bb78c9e9842c52b299 (diff)
Merge branch 'cygwin-patches-for-1.18' into cygwin-release-1.18xserver-cygwin-1.18.3-1
Diffstat (limited to 'hw/xwin/winprefs.c')
-rw-r--r--hw/xwin/winprefs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/xwin/winprefs.c b/hw/xwin/winprefs.c
index c97c88dca..ed1154b90 100644
--- a/hw/xwin/winprefs.c
+++ b/hw/xwin/winprefs.c
@@ -526,8 +526,10 @@ SetupSysMenu(HWND hwnd)
pWin = GetProp(hwnd, WIN_WINDOW_PROP);
sys = GetSystemMenu(hwnd, FALSE);
- if (!sys)
+ if (!sys) {
+ ErrorF("SetupSysMenu: GetSystemMenu() failed for HWND %p\n", hwnd);
return;
+ }
if (pWin) {
/* First see if there's a class match... */