mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-28 06:26:01 +01:00
A const
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
parent
0ac744c076
commit
60001b2ede
1 changed files with 1 additions and 1 deletions
2
config.c
2
config.c
|
@ -50,7 +50,7 @@ cb_color_change(girara_session_t* session, const char* name,
|
|||
g_return_if_fail(name != NULL);
|
||||
zathura_t* zathura = session->global.data;
|
||||
|
||||
char* string_value = (char*) value;
|
||||
const char* string_value = (const char*) value;
|
||||
if (g_strcmp0(name, "highlight-color") == 0) {
|
||||
gdk_rgba_parse(&(zathura->ui.colors.highlight_color), string_value);
|
||||
} else if (g_strcmp0(name, "highlight-active-color") == 0) {
|
||||
|
|
Loading…
Reference in a new issue