startup: don't mark the buffer as modified when in view mode

This commit is contained in:
Benno Schulenberg
2017-06-23 10:43:52 +02:00
parent dbbc14e0ac
commit 92befae93d

View File

@@ -1177,7 +1177,7 @@ bool scoop_stdin(void)
terminal_init();
doupdate();
if (openfile->totsize > 0)
if (!ISSET(VIEW_MODE) && openfile->totsize > 0)
set_modified();
return TRUE;