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:
@@ -517,7 +517,7 @@ calls_application_command_line (GApplication *application,
|
|||||||
if (delta != 0)
|
if (delta != 0)
|
||||||
g_print ("%s verbosity by %d to %u\n",
|
g_print ("%s verbosity by %d to %u\n",
|
||||||
delta > 0 ? "Increased" : "Decreased",
|
delta > 0 ? "Increased" : "Decreased",
|
||||||
delta,
|
delta < 0 ? -1 * delta : delta,
|
||||||
level);
|
level);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user