From 664ce27aae11a6c4d9e01fcbd877e7e472cdcf68 Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Wed, 20 Jul 2005 11:35:53 +0000 Subject: [PATCH] applied patch 1241404 from kekko81: "Boot letter bugfix" Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2241 --- src/dos/dos_programs.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/dos/dos_programs.cpp b/src/dos/dos_programs.cpp index 6f9339a6..f97e98f0 100644 --- a/src/dos/dos_programs.cpp +++ b/src/dos/dos_programs.cpp @@ -16,7 +16,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* $Id: dos_programs.cpp,v 1.37 2005-07-19 19:45:16 qbix79 Exp $ */ +/* $Id: dos_programs.cpp,v 1.38 2005-07-20 11:35:53 qbix79 Exp $ */ #include #include @@ -299,7 +299,7 @@ public: drive = 'A'; while(iGetCount()) { if(cmd->FindCommand(i+1, temp_line)) { - if(temp_line == "-l") { + if((temp_line == "-l") || (temp_line == "-L")) { /* Specifying drive... next argument then is the drive */ i++; if(cmd->FindCommand(i+1, temp_line)) { @@ -341,7 +341,7 @@ public: return; } - WriteOut(MSG_Get("PROGRAM_BOOT_BOOT"),"Booting from drive %c...\n", drive); + WriteOut(MSG_Get("PROGRAM_BOOT_BOOT"), drive); bootSector bootarea; imageDiskList[drive-65]->Read_Sector(0,0,1,(Bit8u *)&bootarea);