volume label always upcase
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1243
This commit is contained in:
parent
0c1d2529e0
commit
e14dcb4bd5
1 changed files with 3 additions and 2 deletions
|
@ -17,7 +17,7 @@
|
|||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
/* $Id: drive_cache.cpp,v 1.24 2003-08-13 14:55:24 qbix79 Exp $ */
|
||||
/* $Id: drive_cache.cpp,v 1.25 2003-09-10 12:57:40 finsterr Exp $ */
|
||||
|
||||
#include "drives.h"
|
||||
#include "dos_inc.h"
|
||||
|
@ -111,7 +111,8 @@ void DOS_Drive_Cache::SetLabel(const char* vname)
|
|||
while (togo>0) {
|
||||
if (vname[vnamePos]==0) break;
|
||||
if (!point && (vname[vnamePos]=='.')) { togo=4; point=true; }
|
||||
label[labelPos] = vname[vnamePos];
|
||||
label[labelPos] = vname[vnamePos];
|
||||
label[labelPos] = *upcase(&label[labelPos]);
|
||||
labelPos++; vnamePos++;
|
||||
togo--;
|
||||
if ((togo==0) && !point) {
|
||||
|
|
Loading…
Add table
Reference in a new issue