diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-07-25 11:13:15 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-07-26 00:42:15 +0300 |
commit | a0121b5e4b2b1d7a8f697ef5ee1e9db2bd427bc2 (patch) | |
tree | 971831b8726cce2d9f2d64fa57a50b4c6de1b706 /src/error.c | |
parent | 83dddcf2064c26d3ac2a12d7b8158f8891329181 (diff) | |
download | sciteco-a0121b5e4b2b1d7a8f697ef5ee1e9db2bd427bc2.tar.gz |
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.
Diffstat (limited to 'src/error.c')
-rw-r--r-- | src/error.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |