diff --git a/uppsrc/CodeEditor/PythonSyntax.cpp b/uppsrc/CodeEditor/PythonSyntax.cpp index 2d7f20244..1b221f951 100644 --- a/uppsrc/CodeEditor/PythonSyntax.cpp +++ b/uppsrc/CodeEditor/PythonSyntax.cpp @@ -166,7 +166,7 @@ int PythonSyntax::CalculateLineIndetations(const WString& line, Identation::Type PythonSyntax::Identation::Type PythonSyntax::FindIdentationType(CodeEditor& editor, const WString& line) { - Identation::Type type = Identation::None; + Identation::Type type = Identation::Unknown; if(line.StartsWith("\t")) type = Identation::Tab; else diff --git a/uppsrc/CodeEditor/PythonSyntax.h b/uppsrc/CodeEditor/PythonSyntax.h index e6b1d9c7e..d6e3244e1 100644 --- a/uppsrc/CodeEditor/PythonSyntax.h +++ b/uppsrc/CodeEditor/PythonSyntax.h @@ -4,7 +4,7 @@ private: enum Type { Tab = 0, Space, - None + Unknown }; };