mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
hmm, how did that happen? ah well
This commit is contained in:
parent
5a0e2460a3
commit
b320778b92
1 changed files with 2 additions and 2 deletions
|
@ -1407,8 +1407,8 @@ QFS_Rename (const char *old_path, const char *new_path)
|
||||||
dstring_t *full_new = dstring_new ();
|
dstring_t *full_new = dstring_new ();
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
dsprintf (full_old, "%s/%s", qfs_userpath, old);
|
dsprintf (full_old, "%s/%s", qfs_userpath, old_path);
|
||||||
dsprintf (full_new, "%s/%s", qfs_userpath, new);
|
dsprintf (full_new, "%s/%s", qfs_userpath, new_path);
|
||||||
if ((ret = QFS_CreatePath (full_new->str)) != -1)
|
if ((ret = QFS_CreatePath (full_new->str)) != -1)
|
||||||
ret = Qrename (full_old->str, full_new->str);
|
ret = Qrename (full_old->str, full_new->str);
|
||||||
dstring_delete (full_old);
|
dstring_delete (full_old);
|
||||||
|
|
Loading…
Reference in a new issue