always terminate lpFilteredData with NULL, even if no numbers are found in lpData
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4929 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
eb157fcacd
commit
874036d83d
1 changed files with 1 additions and 1 deletions
|
@ -905,8 +905,8 @@ int WINAPI NumbersOnlyPasteWndProc(HWND hWin, UINT uMsg, WPARAM wParam, LPARAM l
|
||||||
{
|
{
|
||||||
lpFilteredData[j] = lpData[i];
|
lpFilteredData[j] = lpData[i];
|
||||||
j++;
|
j++;
|
||||||
lpFilteredData[j] = 0;
|
|
||||||
}
|
}
|
||||||
|
lpFilteredData[j] = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
SendMessage(hWin, EM_REPLACESEL, TRUE, (LPARAM) lpFilteredData);
|
SendMessage(hWin, EM_REPLACESEL, TRUE, (LPARAM) lpFilteredData);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue