Merge commit 'origin'
[nedit-bw.git] / put-Untitled-backupfiles-not-in-HOME.patch
blobe1d4f2049c267653c9afb4c9eb132fc52742c585
1 ---
3 source/file.c | 2 +-
4 1 file changed, 1 insertion(+), 1 deletion(-)
6 diff --quilt old/source/file.c new/source/file.c
7 --- old/source/file.c
8 +++ new/source/file.c
9 @@ -1185,7 +1185,7 @@ static void backupFileName(WindowInfo *w
10 else
11 sprintf(name, "%s_%s", "SYS$LOGIN:", window->filename);
12 #else
13 - if (window->filenameSet)
14 + if (window->path[0])
16 sprintf(name, "%s~%s", window->path, window->filename);
17 } else