From: Sean M. <br...@us...> - 2004-10-03 17:30:20
|
Update of /cvsroot/bzflag/bzflag/src/platform In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15484/src/platform Modified Files: DXJoystick.cxx WinJoystick.cxx Log Message: s/string_util/TextUtils/g making the utility namespace match his file name (oh lookie, 2-chars shorter even) Index: DXJoystick.cxx =================================================================== RCS file: /cvsroot/bzflag/bzflag/src/platform/DXJoystick.cxx,v retrieving revision 1.9 retrieving revision 1.10 diff -w -u -r1.9 -r1.10 --- DXJoystick.cxx 25 Sep 2004 19:07:18 -0000 1.9 +++ DXJoystick.cxx 3 Oct 2004 17:28:46 -0000 1.10 @@ -411,7 +411,7 @@ sprintf(buffer, "Action not supported by driver"); else sprintf(buffer, "Unknown error (%d)", (int)problem); - printError(string_util::format("%s (%s).", situation, buffer)); + printError(TextUtils::format("%s (%s).", situation, buffer)); } /* Nasty callbacks 'cause DirectX sucks */ Index: WinJoystick.cxx =================================================================== RCS file: /cvsroot/bzflag/bzflag/src/platform/WinJoystick.cxx,v retrieving revision 1.9 retrieving revision 1.10 diff -w -u -r1.9 -r1.10 --- WinJoystick.cxx 14 Sep 2004 03:47:33 -0000 1.9 +++ WinJoystick.cxx 3 Oct 2004 17:28:46 -0000 1.10 @@ -137,10 +137,10 @@ // we have at least one joystick driver, get the name of both joystick IDs if they exist. JOYCAPS joyCaps; if (joyGetDevCaps(JOYSTICKID1, &joyCaps, sizeof(joyCaps)) == JOYERR_NOERROR) { - list.push_back(string_util::format("Joystick 1 (%s)", joyCaps.szPname)); + list.push_back(TextUtils::format("Joystick 1 (%s)", joyCaps.szPname)); } if (joyGetDevCaps(JOYSTICKID2, &joyCaps, sizeof(joyCaps)) == JOYERR_NOERROR) { - list.push_back(string_util::format("Joystick 2 (%s)", joyCaps.szPname)); + list.push_back(TextUtils::format("Joystick 2 (%s)", joyCaps.szPname)); } } } |