From ad9bc5f97c01e656ca15cf633af5e2a25bd3885d Mon Sep 17 00:00:00 2001 From: mattias Date: Wed, 7 Oct 2015 11:21:55 +0000 Subject: [PATCH] IDE: editor options: use current formatversion as default git-svn-id: trunk@49970 - --- ide/editoroptions.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ide/editoroptions.pp b/ide/editoroptions.pp index c370b37a6d..828162e97e 100644 --- a/ide/editoroptions.pp +++ b/ide/editoroptions.pp @@ -5215,7 +5215,7 @@ function TEditorOptions.ReadPascalColorScheme: String; var FormatVersion: Integer; begin - FormatVersion := XMLConfig.GetValue('EditorOptions/Color/Version', 0); // Should default be EditorOptsFormatVersion? + FormatVersion := XMLConfig.GetValue('EditorOptions/Color/Version', EditorOptsFormatVersion); if FormatVersion > 1 then Result := XMLConfig.GetValue( 'EditorOptions/Color/Lang' + StrToValidXMLName(