From 846566100fff3c2f7329271ddbc64077f5f2ae3e Mon Sep 17 00:00:00 2001 From: Mike Goslin Date: Tue, 10 Oct 2000 01:34:12 +0000 Subject: [PATCH] *** empty log message *** --- dtool/src/dtoolutil/filename.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dtool/src/dtoolutil/filename.cxx b/dtool/src/dtoolutil/filename.cxx index d8b1886c8d..4e3645d75f 100644 --- a/dtool/src/dtoolutil/filename.cxx +++ b/dtool/src/dtoolutil/filename.cxx @@ -69,12 +69,11 @@ convert_pathname(const string &unix_style_pathname) { // This is a pathname that begins with a single letter. That must // be the drive letter. windows_pathname = - toupper(unix_style_pathname[1]) + ":" + + string(1, toupper(unix_style_pathname[1])) + ":" + front_to_back_slash(unix_style_pathname.substr(2)); } else { // It does not begin with a single letter, so prefix "PANDA_ROOT". - static string panda_root; static bool got_panda_root = false;