hmm, how did that happen? ah well

This commit is contained in:
Bill Currie 2007-03-18 10:42:16 +00:00 committed by Jeff Teunissen
parent 5a0e2460a3
commit b320778b92
1 changed files with 2 additions and 2 deletions

View File

@ -1407,8 +1407,8 @@ QFS_Rename (const char *old_path, const char *new_path)
dstring_t *full_new = dstring_new ();
int ret;
dsprintf (full_old, "%s/%s", qfs_userpath, old);
dsprintf (full_new, "%s/%s", qfs_userpath, new);
dsprintf (full_old, "%s/%s", qfs_userpath, old_path);
dsprintf (full_new, "%s/%s", qfs_userpath, new_path);
if ((ret = QFS_CreatePath (full_new->str)) != -1)
ret = Qrename (full_old->str, full_new->str);
dstring_delete (full_old);