From 5224e3108471fe4d7c8c4de5b58516cbd62b6788 Mon Sep 17 00:00:00 2001 From: Vincent Wei Date: Wed, 4 Mar 2020 21:54:28 +0800 Subject: [PATCH] cleanup --- src/gui/window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/window.c b/src/gui/window.c index 88e6b2bb..d5c92e36 100644 --- a/src/gui/window.c +++ b/src/gui/window.c @@ -4204,9 +4204,9 @@ HWND GUIAPI CreateMainWindowEx2 (PMAINWINCREATE pCreateInfo, LINT id, if (pWin->pHosting == NULL) pWin->pHosting = getMainWindowPtr (pCreateInfo->hHosting); - /* leave the pHosting is NULL for the first window of this thread. */ #else /* defined _MGRM_THREADS */ - /* you must create main window in the main thread for non-threads mods */ + + /* You must create main window in the main thread for non-threads modes */ if (getMsgQueueForThisThread () != __mg_dsk_msg_queue) goto err;