Fixed a bug with non ASCII characters in InstallDir and auto completion of browse selection (squares were added before non ASCII characters)

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2078 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2003-01-21 20:37:16 +00:00
parent 7ea9ed8cea
commit 09de45ed1a

View file

@ -794,7 +794,7 @@ static BOOL CALLBACK DirProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPar
p=scanendslash(post_str);
if (p >= post_str && *++p)
{
post_str=p;
post_str=process_string(ps_tmpbuf,p);
p=name+mystrlen(name)-mystrlen(post_str);
if (p <= name || *CharPrev(name,p)!='\\' || lstrcmpi(p,post_str))
{