* grub-core/normal/term.c (grub_set_more): Use bool logic rather than

increment/decrement.
This commit is contained in:
Josh Triplett authored and Vladimir Serbinenko committed 2013-11-13 02:27:11 +01:00
1 parent c773faf05e
commit 46d8a2033b
2 files changed
+6 -4

No files matched your search

+1 -4
View File
@@ -124,10 +124,7 @@ print_more (void)
void
grub_set_more (int onoff)
{
if (onoff == 1)
grub_more++;
else
grub_more--;
grub_more = !!onoff;
grub_normal_reset_more ();
}