From 41a3949810ff00e09fd099d12cc44dea8d676e2e Mon Sep 17 00:00:00 2001 From: cxl Date: Tue, 26 Jan 2016 19:50:22 +0000 Subject: [PATCH] Python compilation problem in X11 fixed #1372 git-svn-id: svn://ultimatepp.org/upp/trunk@9436 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/CodeEditor/PythonSyntax.cpp | 2 +- uppsrc/CodeEditor/PythonSyntax.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 }; };