aboutsummaryrefslogtreecommitdiff
path: root/text.c
diff options
context:
space:
mode:
Diffstat (limited to 'text.c')
-rw-r--r--text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/text.c b/text.c
index d156c8a..486e085 100644
--- a/text.c
+++ b/text.c
@@ -1375,7 +1375,7 @@ void text_free(Text *txt) {
free(txt);
}
-bool text_modified(Text *txt) {
+bool text_modified(const Text *txt) {
return txt->saved_revision != txt->history;
}