Skip to content

Commit 54347f0

Browse files
authored
Merge pull request #625 from swairr/fix/uninit-vars
Win32 - Fix uninitialized vars
2 parents cfa5c45 + 59e9ee1 commit 54347f0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/webui.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11728,6 +11728,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpReserved) {
1172811728
// Window class
1172911729
const char wvClass[] = "WebViewWindow";
1173011730
WNDCLASSA wc;
11731+
ZeroMemory(&wc, sizeof(WNDCLASSA));
1173111732
wc.lpfnWndProc = WndProc;
1173211733
wc.hInstance = GetModuleHandle(NULL);
1173311734
wc.lpszClassName = wvClass;

0 commit comments

Comments
 (0)