3 source/file.c | 6 +++---
4 1 file changed, 3 insertions(+), 3 deletions(-)
6 diff --quilt old/source/file.c new/source/file.c
9 @@ -1453,11 +1453,11 @@ static void backupFileName(WindowInfo *w
13 - sprintf(name, "%s~%s", window->path, window->filename);
14 + sprintf(name, "%s%s~", window->path, window->filename);
17 - strcpy(bckname, "~");
18 - strncat(bckname, window->filename, MAXPATHLEN - 1);
19 + strcat(bckname, window->filename);
20 + strncpy(bckname, "~", MAXPATHLEN - strlen(window->filename));
21 PrependHome(bckname, name, len);