Downloading text in nsisdl page cut off first char of path name if it wasn't a full path.

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2337 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
rainwater 2003-03-18 16:12:06 +00:00
parent 56507e9e34
commit a46ab81918
2 changed files with 1 additions and 1 deletions

View file

@ -200,7 +200,7 @@ __declspec(dllexport) void download (HWND parent,
char *p=filename;
while (*p) p++;
while (*p != '\\' && p != filename) p=CharPrev(filename,p);
wsprintf(buf,szDownloading, p+1);
wsprintf(buf,szDownloading, p!=filename?p+1:p);
SetDlgItemText(g_childwnd,1006,buf);
SetDlgItemText (g_dialog, IDC_STATIC2, szConnecting);