Emscripten build fix.

This commit is contained in:
Martín Lucas Golini
2022-07-18 02:47:23 -03:00
parent 07b8bf371a
commit 10a82ccc56

View File

@@ -133,8 +133,8 @@ UITerminal* TerminalManager::createNewTerminal( const std::string& title, UITabW
#if EE_PLATFORM == EE_PLATFORM_EMSCRIPTEN
UIMessageBox* msgBox = UIMessageBox::New(
UIMessageBox::OK,
i18n( "feature_not_supported_in_emscripten",
"This feature is only supported in the desktop version of ecode." ) );
mApp->i18n( "feature_not_supported_in_emscripten",
"This feature is only supported in the desktop version of ecode." ) );
msgBox->showWhenReady();
return nullptr;
#else