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 d722a913da
commit 707eee51cb

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;