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

master
Benno Schulenberg 2017-06-23 10:43:52 +02:00
parent dbbc14e0ac
commit 92befae93d
1 changed files with 1 additions and 1 deletions

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;