diff options
-rw-r--r-- | src/misc.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -565,7 +565,8 @@ handleInterrupt (int i) cursor_y = MAIN_TOP_LINE; cursor_x = 10; offset = 0x00; - Globals.modified = 0; + if (Globals.modified != READ_ONLY) + Globals.modified = 0; Globals.tabb = 0; } redraw (); |