startup: don't mark the buffer as modified when nothing was read

master
Benno Schulenberg 2017-06-23 09:51:58 +02:00
parent 56ce5f2ba8
commit a71a2f9a0c
1 changed files with 4 additions and 1 deletions

View File

@ -1176,7 +1176,10 @@ bool scoop_stdin(void)
terminal_init();
doupdate();
set_modified();
if (openfile->totsize > 0)
set_modified();
return TRUE;
}