[ui] fix cursor being displayed within Info field

* Also fix an MSVC code analysis warning in iso.c
* Closes #527
This commit is contained in:
Pete Batard 2015-06-17 18:32:19 +01:00
parent 00947eb865
commit 7567ddef07
3 changed files with 13 additions and 10 deletions

View file

@ -822,7 +822,7 @@ out:
fd = NULL;
safe_sprintf(path2, sizeof(path2), "%s\\syslinux.org", dest_dir);
uprintf("Renaming: %s ⇨ %s", path, path2);
rename(path, path2);
IGNORE_RETVAL(rename(path, path2));
}
if (fd == NULL) {
fd = fopen(path, "w"); // No "/syslinux.cfg" => create a new one