aboutsummaryrefslogtreecommitdiff
path: root/text.h
diff options
context:
space:
mode:
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 72ca1fc..03a1001 100644
--- a/text.h
+++ b/text.h
@@ -300,7 +300,7 @@ Mark text_mark_set(Text*, size_t pos);
* @param mark The mark to look up.
* @return The byte position or ``EPOS`` for an invalid mark.
*/
-size_t text_mark_get(Text*, Mark);
+size_t text_mark_get(const Text*, Mark);
/**
* @}
* @defgroup save