1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-11-16 05:15:36 +00:00

log: Fix returned verbosity delta

When we increase verbosity we want values > 0 returned.
This commit is contained in:
Evangelos Ribeiro Tzaras 2022-11-11 13:00:39 +01:00
parent fdd91951df
commit 8710ca778a

View file

@ -283,7 +283,7 @@ calls_log_get_verbosity (void)
int
calls_log_set_verbosity (guint new_verbosity)
{
int diff = verbosity - new_verbosity;
int diff = new_verbosity - verbosity;
if (new_verbosity == verbosity)
return 0;