diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2020-09-30 10:23:19 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2020-10-10 10:03:17 +0200 |
| commit | 2748b1ccdda3a3b5101d6782387334ca7e72fbe0 (patch) | |
| tree | 6f486c46b0c776cf48c6e519969fb5df26ad9e55 /text.c | |
| parent | 40013d270248cb9eb720bb498e5cfe2df84450ca (diff) | |
| download | vis-2748b1ccdda3a3b5101d6782387334ca7e72fbe0.tar.gz vis-2748b1ccdda3a3b5101d6782387334ca7e72fbe0.tar.xz | |
text: mark text_modified argument as const
Diffstat (limited to 'text.c')
| -rw-r--r-- | text.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |
