mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-20 17:31:08 +00:00
Use the correct param for the full_new path.
This fixes the broken downloads. *taniwha dons a brown paper bag.
This commit is contained in:
parent
6e18c3df85
commit
3090a64faa
1 changed files with 4 additions and 2 deletions
|
@ -1447,9 +1447,11 @@ QFS_Rename (const char *old_path, const char *new_path)
|
|||
int ret;
|
||||
|
||||
if ((ret = qfs_expand_userpath (full_old, old_path)) != -1)
|
||||
if ((ret = qfs_expand_userpath (full_new, old_path)) != -1)
|
||||
if ((ret = Sys_CreatePath (full_new->str)) != -1)
|
||||
if ((ret = qfs_expand_userpath (full_new, new_path)) != -1)
|
||||
if ((ret = Sys_CreatePath (full_new->str)) != -1) {
|
||||
Sys_Printf ("QFS_Rename %s %s\n", full_old->str, full_new->str);
|
||||
ret = Qrename (full_old->str, full_new->str);
|
||||
}
|
||||
dstring_delete (full_old);
|
||||
dstring_delete (full_new);
|
||||
return ret;
|
||||
|
|
Loading…
Reference in a new issue