1 diff --git a/src/file.c b/src/file.c
2 index 5e44a43..4c90a37 100644
5 @@ -190,6 +190,7 @@ gint file_save_real(GtkWidget *view, FileInfo *fi)
6 gtk_text_buffer_get_start_iter(buffer, &start);
7 gtk_text_buffer_get_end_iter(buffer, &end);
8 str = gtk_text_buffer_get_text(buffer, &start, &end, FALSE);
9 + gtk_text_buffer_set_modified(buffer, FALSE);
11 switch (fi->lineend) {
13 @@ -229,7 +230,6 @@ gint file_save_real(GtkWidget *view, FileInfo *fi)
17 - gtk_text_buffer_set_modified(buffer, FALSE);