fix motifless build, keep original LIBS variable
[nedit-bw.git] / put-Untitled-backupfiles-not-in-HOME.patch
blob1e234ca423532adca95284e16565701589fcee16
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 @@ -1217,7 +1217,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