|
@@ -603,8 +603,11 @@ void la_FileBrowserNewDirectory(laFileBrowser* fb,char* path){
|
|
|
}
|
|
|
#endif
|
|
|
#ifdef _WIN32
|
|
|
- if (p[len - 1] != U'\\') strcat(p, "\\");
|
|
|
- //...
|
|
|
+ if (p[len - 1] != U'\\' && p[len - 1] != U'/') strcat(p, "\\");
|
|
|
+ char usepath[2048]; sprintf(usepath,"%s%s",p,path);
|
|
|
+ if(!_mkdir(usepath)){
|
|
|
+ strcpy(fb->Path,usepath);
|
|
|
+ }
|
|
|
#endif
|
|
|
la_FileBrowserRebuildList(fb); laRecalcCurrentPanel();
|
|
|
}
|