From fbc898a9cd132078b0128b70091f4aadbec519e3 Mon Sep 17 00:00:00 2001 From: Randy Palamar Date: Wed, 10 Dec 2025 21:10:32 -0700 Subject: text: make text_snapshot return void No one was checking this and there is not an error case for this function. --- text.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'text.h') 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 -- cgit v1.2.3