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:
kichik 2007-02-17 09:12:15 +00:00
parent eb157fcacd
commit 874036d83d

View file

@ -905,8 +905,8 @@ int WINAPI NumbersOnlyPasteWndProc(HWND hWin, UINT uMsg, WPARAM wParam, LPARAM l
{
lpFilteredData[j] = lpData[i];
j++;
lpFilteredData[j] = 0;
}
lpFilteredData[j] = 0;
}
SendMessage(hWin, EM_REPLACESEL, TRUE, (LPARAM) lpFilteredData);