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

application: Print positive delta when changing verbosity

Since we already take into account if it's increasing or decreasing
we should make the amount (Increased/Decreased by N) positive.
This commit is contained in:
Evangelos Ribeiro Tzaras 2022-11-11 13:02:38 +01:00
parent 8710ca778a
commit 3ac414fd84

View file

@ -517,7 +517,7 @@ calls_application_command_line (GApplication *application,
if (delta != 0)
g_print ("%s verbosity by %d to %u\n",
delta > 0 ? "Increased" : "Decreased",
delta,
delta < 0 ? -1 * delta : delta,
level);
}