Navigation Menu

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

Commit

Permalink
Fix uninitialized variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Jun 22, 2014
1 parent b2e8911 commit 514e2c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Notepad2.c
Expand Up @@ -5247,7 +5247,7 @@ LRESULT MsgNotify(HWND hwnd,WPARAM wParam,LPARAM lParam)
//int iLexer = (int)SendMessage(hwndEdit,SCI_GETLEXER,0,0);
if (/*iLexer == SCLEX_HTML || iLexer == SCLEX_XML*/ 1)
{
char tchBuf[512];
char tchBuf[512] = { 0 };
char tchIns[516] = "</";
int cchIns = 2;
int iCurPos = (int)SendMessage(hwndEdit,SCI_GETCURRENTPOS,0,0);
Expand Down

0 comments on commit 514e2c4

Please sign in to comment.