let all function types return NO_TAG
[nedit-bw.git] / enhanced-fix-style.patch
blob95772e491d4eac780c7f788f7d52a6711ae653e8
1 ---
3 source/file.c | 12 ++++++------
4 1 files changed, 6 insertions(+), 6 deletions(-)
6 diff --quilt old/source/file.c new/source/file.c
7 --- old/source/file.c
8 +++ new/source/file.c
9 @@ -733,16 +733,16 @@ int CloseFileAndWindow(WindowInfo *windo
10 /* If the document is transient, belongs to a normal & unmodified file
11 or is empty and unchanged, or if the user wants to ignore external
12 modifications then just close it. Otherwise ask for confirmation first. */
13 if (window->transient
14 || (!window->fileChanged
15 - /* Normal document, already saved */
16 - && ((!window->fileMissing && window->lastModTime > 0)
17 - /* New document, unchanged yet */
18 - || (window->fileMissing && window->lastModTime == 0)
19 - /* File deleted/modified externally, ignored by user. */
20 - || !GetPrefWarnFileMods())))
21 + /* Normal document, already saved */
22 + && ((!window->fileMissing && window->lastModTime > 0)
23 + /* New document, unchanged yet */
24 + || (window->fileMissing && window->lastModTime == 0)
25 + /* File deleted/modified externally, ignored by user. */
26 + || !GetPrefWarnFileMods())))
28 RemoveBackupFile(window);
29 CloseWindow(window);
30 /* up-to-date windows don't have outstanding backup files to close */
31 } else