mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-20 22:48:22 +00:00
* grub-core/normal/term.c (grub_set_more): Use bool logic rather than
increment/decrement.
This commit is contained in:
1 parent
c773faf05e
commit
46d8a2033b
2 files changed
+6
-4
No files matched your search
@@ -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 ();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user