mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
last fix for RecursiveCreateDirectory()
svn path=/trunk/; revision=7703
This commit is contained in:
parent
b5fec56137
commit
2e1c823c7e
2 changed files with 1 additions and 4 deletions
|
@ -97,7 +97,7 @@ void QuickLaunchBar::AddShortcuts()
|
|||
try {
|
||||
TCHAR path[MAX_PATH];
|
||||
|
||||
SpecialFolderFSPath app_data(CSIDL_APPDATA, _hwnd); // perhaps also look into CSIDL_COMMON_APPDATA ?
|
||||
SpecialFolderFSPath app_data(CSIDL_APPDATA, _hwnd); ///@todo perhaps also look into CSIDL_COMMON_APPDATA ?
|
||||
|
||||
_stprintf(path, TEXT("%s\\")QUICKLAUNCH_FOLDER, (LPCTSTR)app_data);
|
||||
|
||||
|
|
|
@ -307,9 +307,6 @@ BOOL RecursiveCreateDirectory(LPCTSTR path_in)
|
|||
|
||||
path[i] = '\0';
|
||||
|
||||
if (i >= l)
|
||||
break;
|
||||
|
||||
hFind = FindFirstFile(path, &w32fd);
|
||||
|
||||
if (hFind != INVALID_HANDLE_VALUE)
|
||||
|
|
Loading…
Reference in a new issue