mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-23 11:17:03 -04:00
[syslinux] download c32 files in the same directory as the app
* Rufus was downloading c32 files in the last directory browsed, which meant that the same file may have had to be downloaded more than once * Closes #154
This commit is contained in:
parent
91f2cbafe9
commit
9925cc945d
4 changed files with 21 additions and 10 deletions
|
@ -616,6 +616,15 @@ out:
|
|||
return ret;
|
||||
}
|
||||
|
||||
static __inline int _chdirU(const char *dirname)
|
||||
{
|
||||
int ret;
|
||||
wconvert(dirname);
|
||||
ret = _wchdir(wdirname);
|
||||
wfree(dirname);
|
||||
return ret;
|
||||
}
|
||||
|
||||
static __inline FILE* fopenU(const char* filename, const char* mode)
|
||||
{
|
||||
FILE* ret = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue