startup: don't mark the buffer as modified when in view mode
parent
dbbc14e0ac
commit
92befae93d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue