mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-12-13 16:07:36 +00:00
log: Fix returned verbosity delta
When we increase verbosity we want values > 0 returned.
This commit is contained in:
parent
d722a913da
commit
707eee51cb
1 changed files with 1 additions and 1 deletions
|
@ -283,7 +283,7 @@ calls_log_get_verbosity (void)
|
||||||
int
|
int
|
||||||
calls_log_set_verbosity (guint new_verbosity)
|
calls_log_set_verbosity (guint new_verbosity)
|
||||||
{
|
{
|
||||||
int diff = verbosity - new_verbosity;
|
int diff = new_verbosity - verbosity;
|
||||||
|
|
||||||
if (new_verbosity == verbosity)
|
if (new_verbosity == verbosity)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue