don't append excess slash to g_qeglobals.m_userGamePath
This commit is contained in:
@@ -593,7 +593,7 @@ const char* misc_model_dialog( GtkWidget* parent ){
|
||||
if ( !file_readable( buffer.c_str() ) ) {
|
||||
// just go to fsmain
|
||||
buffer.clear();
|
||||
buffer << g_qeglobals.m_userGamePath.c_str() << "/";
|
||||
buffer << g_qeglobals.m_userGamePath.c_str();
|
||||
}
|
||||
|
||||
const char *filename = file_dialog( parent, TRUE, "Choose Model", buffer.c_str(), ModelLoader::Name() );
|
||||
|
||||
Reference in New Issue
Block a user