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();
|
terminal_init();
|
||||||
doupdate();
|
doupdate();
|
||||||
|
|
||||||
if (openfile->totsize > 0)
|
if (!ISSET(VIEW_MODE) && openfile->totsize > 0)
|
||||||
set_modified();
|
set_modified();
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
Loading…
Reference in New Issue