aboutsummaryrefslogtreecommitdiff
path: root/text.h
diff options
context:
space:
mode:
authorRandy Palamar <randy@rnpnr.xyz>2025-12-10 21:10:32 -0700
committerRandy Palamar <randy@rnpnr.xyz>2025-12-22 09:17:08 -0700
commitfbc898a9cd132078b0128b70091f4aadbec519e3 (patch)
treef9baba3f32348fcf6d6d9debd760c67e58981735 /text.h
parentdd29e2f4321bea25c53af5def7a23fe57640de50 (diff)
downloadvis-fbc898a9cd132078b0128b70091f4aadbec519e3.tar.gz
vis-fbc898a9cd132078b0128b70091f4aadbec519e3.tar.xz
text: make text_snapshot return void
No one was checking this and there is not an error case for this function.
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 4ff8bdb..7017b24 100644
--- a/text.h
+++ b/text.h
@@ -159,7 +159,7 @@ VIS_INTERNAL bool text_appendf(Text *txt, const char *format, ...) __attribute__
/**
* Create a text snapshot, that is a vertex in the history graph.
*/
-VIS_INTERNAL bool text_snapshot(Text*);
+VIS_INTERNAL void text_snapshot(Text*);
/**
* Revert to previous snapshot along the main branch.
* @rst