/[grub]/grub/stage2/stage2.c
ViewVC logotype

Diff of /grub/stage2/stage2.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.38 by jthomas, Thu Aug 22 05:59:55 2002 UTC revision 1.39 by okuji, Sun Oct 27 23:59:53 2002 UTC
# Line 447  restart: Line 447  restart:
447                    }                    }
448                  }                  }
449              }              }
450              else if (c == 7)
451                {
452                  /* Page Up */
453                  first_entry -= 12;
454                  if (first_entry < 0)
455                    {
456                      entryno += first_entry;
457                      first_entry = 0;
458                      if (entryno < 0)
459                        entryno = 0;
460                    }
461                  print_entries (3, 12, first_entry, entryno, menu_entries);
462                }
463              else if (c == 3)
464                {
465                  /* Page Down */
466                  first_entry += 12;
467                  if (first_entry + entryno + 1 >= num_entries)
468                    {
469                      first_entry = num_entries - 12;
470                      if (first_entry < 0)
471                        first_entry = 0;
472                      entryno = num_entries - first_entry - 1;
473                    }
474                  print_entries (3, 12, first_entry, entryno, menu_entries);
475                }
476    
477            if (config_entries)            if (config_entries)
478              {              {
479                if ((c == '\n') || (c == '\r'))                if ((c == '\n') || (c == '\r') || (c == 6))
480                  break;                  break;
481              }              }
482            else            else

Legend:
Removed from v.1.38  
changed lines
  Added in v.1.39

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26