From 30d2c50b9f73266f08a5b04b543efb46583edca7 Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Fri, 26 Sep 2008 17:21:17 +0000 Subject: [PATCH] Give warning on c:/" as well. Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3225 --- src/dos/dos_programs.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/dos/dos_programs.cpp b/src/dos/dos_programs.cpp index 2e1d4f44..7c6963f1 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.87 2008-09-07 10:55:14 c2woody Exp $ */ +/* $Id: dos_programs.cpp,v 1.88 2008-09-26 17:21:17 qbix79 Exp $ */ #include "dosbox.h" #include @@ -288,7 +288,9 @@ public: } else { /* Give a warning when mount c:\ or the / */ #if defined (WIN32) || defined(OS2) - if( (temp_line == "c:\\") || (temp_line == "C:\\")) WriteOut(MSG_Get("PROGRAM_MOUNT_WARNING_WIN")); + if( (temp_line == "c:\\") || (temp_line == "C:\\") || + (temp_line == "c:/") || (temp_line == "C:/") ) + WriteOut(MSG_Get("PROGRAM_MOUNT_WARNING_WIN")); #else if(temp_line == "/") WriteOut(MSG_Get("PROGRAM_MOUNT_WARNING_OTHER")); #endif