Ticket #8887: 0001-Fixes-8887-Relabelling-BIOS-Fail-save-Menu-Items.patch

File 0001-Fixes-8887-Relabelling-BIOS-Fail-save-Menu-Items.patch, 1.4 KB (added by RahulAN, 3 years ago)

V2 : changes as suggested by pulkomandy

  • src/system/boot/platform/bios_ia32/menu.cpp

    From 7ae370d18590c80789efafa0b84c3879e00d19a4 Mon Sep 17 00:00:00 2001
    From: Rahul Jain <talentediq@gmail.com>
    Date: Wed, 24 May 2017 12:40:32 +0530
    Subject: [PATCH] Fixes #8887 Relabelling BIOS Fail safe Menu Items This is V2
     of my previous patch. As suggested by PulkoMandy, need to change: 1. Use
     fail-safe video mode -> Use fail-safe graphics driver 2. Select fail-safe
     video mode -> Select screen resolution
    
    ---
     src/system/boot/platform/bios_ia32/menu.cpp | 4 ++--
     1 file changed, 2 insertions(+), 2 deletions(-)
    
    diff --git a/src/system/boot/platform/bios_ia32/menu.cpp b/src/system/boot/platform/bios_ia32/menu.cpp
    index e47fef8..42d8e75 100644
    a b platform_add_menus(Menu* menu)  
    4141
    4242    switch (menu->Type()) {
    4343        case MAIN_MENU:
    44             item = new(std::nothrow) MenuItem("Select fail-safe video driver",
     44            item = new(std::nothrow) MenuItem("Select screen resolution",
    4545                video_mode_menu());
    4646            if (item != NULL) {
    4747                menu->AddItem(item);
    platform_add_menus(Menu* menu)  
    5353            break;
    5454
    5555        case SAFE_MODE_MENU:
    56             item = new(std::nothrow) MenuItem("Use fail-safe video driver");
     56            item = new(std::nothrow) MenuItem("Use fail-safe graphics driver");
    5757            if (item != NULL) {
    5858                menu->AddItem(item);
    5959                item->SetType(MENU_ITEM_MARKABLE);