only free the PIDL in DirProc, don't parse it too so g_tmp gets overwritten with the entire path instaed of just the display name
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3472 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
80c8c38055
commit
4a8e19199a
3 changed files with 11 additions and 12 deletions
|
@ -14,7 +14,7 @@ int NSISCALL mystrlen(const char *in);
|
|||
char * NSISCALL mystrstr(char *a, char *b);
|
||||
WIN32_FIND_DATA * NSISCALL file_exists(char *buf);
|
||||
char * NSISCALL my_GetTempFileName(char *buf, const char *dir);
|
||||
int NSISCALL my_PIDL2Path(char *out, LPITEMIDLIST idl);
|
||||
void NSISCALL FreePIDL(LPITEMIDLIST idl);
|
||||
|
||||
//BOOL NSISCALL my_SetWindowText(HWND hWnd, const char *val);
|
||||
#define my_SetWindowText SetWindowText
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue