Skip to content
This repository has been archived by the owner on Aug 12, 2018. It is now read-only.

Commit

Permalink
Fix CID 1379243.
Browse files Browse the repository at this point in the history
Using uninitialized value "currentLex" when calling "SendMessageW".
  • Loading branch information
XhmikosR committed Aug 6, 2017
1 parent 17cd1b8 commit 62db550
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Styles.c
Original file line number Diff line number Diff line change
Expand Up @@ -4349,7 +4349,7 @@ INT_PTR CALLBACK Style_ConfigDlgProc(HWND hwnd,UINT umsg,WPARAM wParam,LPARAM lP
int i;
SHFILEINFO shfi;
LOGFONT lf;
HTREEITEM currentLex;
HTREEITEM currentLex = { 0 };
int found = 0;

hwndTV = GetDlgItem(hwnd,IDC_STYLELIST);
Expand Down

0 comments on commit 62db550

Please sign in to comment.