Commit 92befae9 authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

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

No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment