Ticket #8887: 0001-haiku_loader-8887-haiku_loader-adjust-fail-safe-vide.patch

File 0001-haiku_loader-8887-haiku_loader-adjust-fail-safe-vide.patch, 3.2 KB (added by RahulAN, 2 years ago)

Relabelled video mode to video driver

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

    From d40393d84600f1989e8bfad3a01d00f0f2cadae5 Mon Sep 17 00:00:00 2001
    From: Rahul Jain <talentediq@gmail.com>
    Date: Mon, 22 May 2017 11:42:29 +0530
    Subject: [PATCH] Fixes #8887 [haiku_loader] adjust fail-safe video
     mode help text (easy) 
    Relabeled fail-safe video mode to fail-safe video driver.
    
    ---
     src/system/boot/platform/amiga_m68k/menu.cpp | 4 ++--
     src/system/boot/platform/atari_m68k/menu.cpp | 4 ++--
     src/system/boot/platform/bios_ia32/menu.cpp  | 4 ++--
     3 files changed, 6 insertions(+), 6 deletions(-)
    
    diff --git a/src/system/boot/platform/amiga_m68k/menu.cpp b/src/system/boot/platform/amiga_m68k/menu.cpp
    index ec82229..c390479 100644
    a b platform_add_menus(Menu *menu)  
    1919
    2020    switch (menu->Type()) {
    2121        case MAIN_MENU:
    22             menu->AddItem(item = new(nothrow) MenuItem("Select fail-safe video mode", video_mode_menu()));
     22            menu->AddItem(item = new(nothrow) MenuItem("Select fail-safe video driver", video_mode_menu()));
    2323            item->SetTarget(video_mode_hook);
    2424            break;
    2525        case SAFE_MODE_MENU:
    26             menu->AddItem(item = new(nothrow) MenuItem("Use fail-safe video mode"));
     26            menu->AddItem(item = new(nothrow) MenuItem("Use fail-safe video driver"));
    2727            item->SetType(MENU_ITEM_MARKABLE);
    2828            item->SetData(B_SAFEMODE_FAIL_SAFE_VIDEO_MODE);
    2929            item->SetHelpText("The system will use VESA mode and won't try to open any video graphics driver");
  • src/system/boot/platform/atari_m68k/menu.cpp

    diff --git a/src/system/boot/platform/atari_m68k/menu.cpp b/src/system/boot/platform/atari_m68k/menu.cpp
    index 57a448b..9b889c7 100644
    a b platform_add_menus(Menu *menu)  
    2020
    2121    switch (menu->Type()) {
    2222        case MAIN_MENU:
    23             menu->AddItem(item = new(nothrow) MenuItem("Select fail-safe video mode", video_mode_menu()));
     23            menu->AddItem(item = new(nothrow) MenuItem("Select fail-safe video driver", video_mode_menu()));
    2424            item->SetTarget(video_mode_hook);
    2525            break;
    2626        case SAFE_MODE_MENU:
    27             menu->AddItem(item = new(nothrow) MenuItem("Use fail-safe video mode"));
     27            menu->AddItem(item = new(nothrow) MenuItem("Use fail-safe video driver"));
    2828            item->SetType(MENU_ITEM_MARKABLE);
    2929            item->SetData(B_SAFEMODE_FAIL_SAFE_VIDEO_MODE);
    3030            item->SetHelpText("The system will use VESA mode and won't try to open any video graphics driver");
  • src/system/boot/platform/bios_ia32/menu.cpp

    diff --git a/src/system/boot/platform/bios_ia32/menu.cpp b/src/system/boot/platform/bios_ia32/menu.cpp
    index 6d59614..e47fef8 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 mode",
     44            item = new(std::nothrow) MenuItem("Select fail-safe video driver",
    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 mode");
     56            item = new(std::nothrow) MenuItem("Use fail-safe video driver");
    5757            if (item != NULL) {
    5858                menu->AddItem(item);
    5959                item->SetType(MENU_ITEM_MARKABLE);