File tree Expand file tree Collapse file tree
GeneralsMD/Code/GameEngine/Source/Common/System/SaveGame
Generals/Code/GameEngine/Source/Common/System/SaveGame Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -843,18 +843,6 @@ static AsciiString getMapLeafAndDirName(const AsciiString& in)
843843 }
844844}
845845
846- // ------------------------------------------------------------------------------------------------
847- static AsciiString removeExtension (const AsciiString& in)
848- {
849- if (const char * end = in.reverseFind (' .' ))
850- {
851- const char * begin = in.str ();
852- return AsciiString (begin, end - begin);
853- }
854-
855- return in;
856- }
857-
858846// ------------------------------------------------------------------------------------------------
859847const char * PORTABLE_SAVE = " Save\\ " ;
860848const char * PORTABLE_MAPS = " Maps\\ " ;
Original file line number Diff line number Diff line change @@ -843,18 +843,6 @@ static AsciiString getMapLeafAndDirName(const AsciiString& in)
843843 }
844844}
845845
846- // ------------------------------------------------------------------------------------------------
847- static AsciiString removeExtension (const AsciiString& in)
848- {
849- if (const char * end = in.reverseFind (' .' ))
850- {
851- const char * begin = in.str ();
852- return AsciiString (begin, end - begin);
853- }
854-
855- return in;
856- }
857-
858846// ------------------------------------------------------------------------------------------------
859847const char * PORTABLE_SAVE = " Save\\ " ;
860848const char * PORTABLE_MAPS = " Maps\\ " ;
You can’t perform that action at this time.
0 commit comments