mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-28 21:54:15 -04:00
[misc] fix various minor issues
* Raise the size of vesamenu.c32 threshold, a per #140 * Fix a missing backslash when checking for autorun.inf * Only set boot flag is requested by the user
This commit is contained in:
parent
8e9777579b
commit
199b9f4869
4 changed files with 8 additions and 8 deletions
|
@ -160,7 +160,7 @@ BOOL SetAutorun(const char* path)
|
|||
char filename[64];
|
||||
wchar_t wlabel[128], wRufusVersion[32];
|
||||
|
||||
safe_sprintf(filename, sizeof(filename), "%sautorun.inf", path);
|
||||
safe_sprintf(filename, sizeof(filename), "%s\\autorun.inf", path);
|
||||
fd = fopen(filename, "r"); // If there's an existing autorun, don't overwrite
|
||||
if (fd != NULL) {
|
||||
uprintf("%s already exists - keeping it\n", filename);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue