Changeset aca4a04 in mainline for kernel/generic/src/debug/symtab.c


Ignore:
Timestamp:
2012-07-10T12:38:05Z (12 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
550af2b
Parents:
f0d7bd9
Message:

Extract common code into function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/debug/symtab.c

    rf0d7bd9 raca4a04  
    255255        /* If possible completions are more than MAX_TAB_HINTS, ask user whether to display them or not. */
    256256        if (found > MAX_TAB_HINTS) {
    257                 printf("\nDisplay all %zu possibilities? (y or n)", found);
    258                 wchar_t display;
    259                 do {
    260                         display = indev_pop_character(indev);
    261                 } while (display != 'y' && display != 'n' && display != 'Y' && display != 'N');
    262                 continue_showing_hints = (display == 'y') || (display == 'Y');
     257                printf("\n");
     258                continue_showing_hints = console_prompt_display_all_hints(indev, found);
    263259        }
    264260       
Note: See TracChangeset for help on using the changeset viewer.