Fix for windows build.

This commit is contained in:
Martín Lucas Golini
2020-12-27 13:18:02 -03:00
parent 4bc9b7a644
commit 143c02cba4
2 changed files with 2 additions and 3 deletions

View File

@@ -122,8 +122,7 @@ void App::onDocumentModified( UICodeEditor* editor, TextDocument& ) {
if ( isDirty != wasDirty )
setAppTitle( titleFromEditor( editor ) );
const String::StringBaseType& tabDirty =
( (UITab*)editor->getData() )->getText().lastChar() == '*';
bool tabDirty = ( (UITab*)editor->getData() )->getText().lastChar() == '*';
if ( isDirty != tabDirty )
updateEditorTitle( editor );