use ostream_write( CopiedString )

This commit is contained in:
Garux
2021-09-18 15:30:11 +03:00
parent b78513f9f8
commit 02a3b9c026
39 changed files with 104 additions and 105 deletions

View File

@@ -319,7 +319,7 @@ static void OnApply( GtkWidget *widget, gpointer data ){
g_PatchInspector.m_Patch->undoSave();
if ( !texdef_name_valid( g_PatchInspector.m_strName.c_str() ) ) {
globalErrorStream() << "invalid texture name '" << g_PatchInspector.m_strName.c_str() << "'\n";
globalErrorStream() << "invalid texture name '" << g_PatchInspector.m_strName << "'\n";
g_PatchInspector.m_strName = texdef_name_default();
}
g_PatchInspector.m_Patch->SetShader( g_PatchInspector.m_strName.c_str() );