diff --git a/deps/libui/win32/init.cpp b/deps/libui/win32/init.cpp index 24c0226f74..9442a045cb 100644 --- a/deps/libui/win32/init.cpp +++ b/deps/libui/win32/init.cpp @@ -86,7 +86,10 @@ const char *uiInit(uiInitOptions *o) return initerr(ce, L"GetLastError() ==", GetLastError()); if (registerWindowClass(hDefaultIcon, hDefaultCursor) == 0) + { + RARCH_ERR("failed registering uiWindow window class.\n"); return ieLastErr("registering uiWindow window class"); + } ZeroMemory(&ncm, sizeof (NONCLIENTMETRICSW)); ncm.cbSize = sizeof (NONCLIENTMETRICSW);