File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ std::string UserProjectSettings::GetProjectDirectoryPath( bool bAddDataDirectory
132
132
#ifndef __linux__
133
133
projectDirectoryName = std::string ( exePathFilename ) + " _Data\\ " ;
134
134
#else
135
- projectDirectoryName = RemoveExtension ( std::string ( basename ( fullExePath ) ) + " _Data/" );
135
+ projectDirectoryName = RemoveFileExtension ( std::string ( basename ( fullExePath ) ) + " _Data/" );
136
136
#endif
137
137
138
138
std::string projectDirectoryPath = basePath + projectDirectoryName;
@@ -198,7 +198,7 @@ void UserProjectSettings::Trim( std::string &s )
198
198
s = std::string ( it, rit.base () );
199
199
}
200
200
201
- std::string UserProjectSettings::RemoveExtension ( const std::string& filename )
201
+ std::string UserProjectSettings::RemoveFileExtension ( const std::string& filename )
202
202
{
203
203
size_t lastdot = filename.find_last_of ( " ." );
204
204
if ( lastdot == std::string::npos )
Original file line number Diff line number Diff line change @@ -45,5 +45,5 @@ class UserProjectSettings
45
45
static std::string GetExecutablePath ();
46
46
static void Trim ( std::string &s );
47
47
static bool DirectoryExists ( const char *const path );
48
- static std::string RemoveExtension ( const std::string &filename );
48
+ static std::string RemoveFileExtension ( const std::string &filename );
49
49
};
You can’t perform that action at this time.
0 commit comments