|
From: <bul...@us...> - 2013-06-29 22:08:36
|
Revision: 22824
http://sourceforge.net/p/bzflag/code/22824
Author: bullet_catcher
Date: 2013-06-29 22:08:34 +0000 (Sat, 29 Jun 2013)
Log Message:
-----------
Use std::string for directory name manipulation on the Mac, too.
Modified Paths:
--------------
trunk/bzflag/src/game/DirectoryNames.cxx
Modified: trunk/bzflag/src/game/DirectoryNames.cxx
===================================================================
--- trunk/bzflag/src/game/DirectoryNames.cxx 2013-06-28 15:55:06 UTC (rev 22823)
+++ trunk/bzflag/src/game/DirectoryNames.cxx 2013-06-29 22:08:34 UTC (rev 22824)
@@ -101,12 +101,12 @@
char buff[1024];
err = ::FSRefMakePath(&libraryFolder, (UInt8*)buff, sizeof(buff));
if(err == ::noErr) {
- std::strcat(buff, "/BZFlag/");
+ name = buff;
+ name += "/BZFlag/";
if (versionName) {
- std::strcat(buff, versionName);
- std::strcat(buff, "/");
+ name += versionName;
+ name += "/";
}
- name = buff;
}
}
customConfigDir = name;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|