diff options
-rw-r--r-- | embedserv/source/embed/syswinwrapper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embedserv/source/embed/syswinwrapper.cxx b/embedserv/source/embed/syswinwrapper.cxx index 4c86532be5e8..7024a054c0b5 100644 --- a/embedserv/source/embed/syswinwrapper.cxx +++ b/embedserv/source/embed/syswinwrapper.cxx @@ -117,7 +117,7 @@ BOOL winwrap::HatchWindowRegister(HINSTANCE hInst) wc.lpszMenuName = nullptr; wc.lpszClassName = SZCLASSHATCHWIN; - return RegisterClassW(&wc); + return RegisterClassW(&wc) != 0; } |