From a0121b5e4b2b1d7a8f697ef5ee1e9db2bd427bc2 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Fri, 25 Jul 2025 11:13:15 +0300 Subject: use teco_interface_msg_literal() where we're printing raw strings * There are some calls of teco_interface_msg() with constant strings, but these are not convenient to convert as the teco_interface_msg_literal() does not yet support -1 for the string length. --- src/error.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/error.c b/src/error.c index 6326984..89f0f72 100644 --- a/src/error.c +++ b/src/error.c @@ -79,7 +79,7 @@ teco_error_display_short(const GError *error) void teco_error_display_full(const GError *error) { - teco_interface_msg(TECO_MSG_ERROR, "%s", error->message); + teco_interface_msg_literal(TECO_MSG_ERROR, error->message, strlen(error->message)); guint nr = 0; -- cgit v1.2.3