aboutsummaryrefslogtreecommitdiff
path: root/text.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2020-09-30 10:23:19 +0200
committerMarc André Tanner <mat@brain-dump.org>2020-10-10 10:03:17 +0200
commit2748b1ccdda3a3b5101d6782387334ca7e72fbe0 (patch)
tree6f486c46b0c776cf48c6e519969fb5df26ad9e55 /text.h
parent40013d270248cb9eb720bb498e5cfe2df84450ca (diff)
downloadvis-2748b1ccdda3a3b5101d6782387334ca7e72fbe0.tar.gz
vis-2748b1ccdda3a3b5101d6782387334ca7e72fbe0.tar.xz
text: mark text_modified argument as const
Diffstat (limited to 'text.h')
-rw-r--r--text.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/text.h b/text.h
index f66df86..17445fc 100644
--- a/text.h
+++ b/text.h
@@ -132,7 +132,7 @@ size_t text_size(Text*);
*/
struct stat text_stat(const Text*);
/** Query whether the text contains any unsaved modifications. */
-bool text_modified(Text*);
+bool text_modified(const Text*);
/**
* @}
* @defgroup modify