mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 09:26:00 +01:00
fix another 'format not a string literal and no format arguments' warning
This commit is contained in:
parent
ed724cc03d
commit
1927622137
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ cmd_info(girara_session_t* session, girara_list_t* UNUSED(argument_list))
|
||||||
|
|
||||||
if (strlen(string->str) > 0) {
|
if (strlen(string->str) > 0) {
|
||||||
g_string_erase(string, strlen(string->str) - 1, 1);
|
g_string_erase(string, strlen(string->str) - 1, 1);
|
||||||
girara_notify(session, GIRARA_INFO, string->str);
|
girara_notify(session, GIRARA_INFO, "%s", string->str);
|
||||||
}
|
}
|
||||||
|
|
||||||
g_string_free(string, TRUE);
|
g_string_free(string, TRUE);
|
||||||
|
|
Loading…
Reference in a new issue