From 31c1901455d49bcd18f6ca94bef91ed860573ca6 Mon Sep 17 00:00:00 2001 From: cxl Date: Tue, 6 Apr 2010 07:33:07 +0000 Subject: [PATCH] .uppsrc: minor fixes git-svn-id: svn://ultimatepp.org/upp/trunk@2306 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/TCore/TCore.upp | 2 +- uppsrc/TCtrlLib/TCtrlLib.upp | 2 +- uppsrc/TSql/TSql.upp | 2 +- uppsrc/ide/Setup.cpp | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/uppsrc/TCore/TCore.upp b/uppsrc/TCore/TCore.upp index 82707d26d..aa53be022 100644 --- a/uppsrc/TCore/TCore.upp +++ b/uppsrc/TCore/TCore.upp @@ -1,4 +1,4 @@ -description "Experimental (sometimes obsolete) non-GUI code"; +description "Experimental (sometimes obsolete) non-GUI code\377"; charset "windows-1250"; diff --git a/uppsrc/TCtrlLib/TCtrlLib.upp b/uppsrc/TCtrlLib/TCtrlLib.upp index f43d386bd..0bfad9aa5 100644 --- a/uppsrc/TCtrlLib/TCtrlLib.upp +++ b/uppsrc/TCtrlLib/TCtrlLib.upp @@ -1,4 +1,4 @@ -description "Experimental (sometimes obsolete) GUI code"; +description "Experimental (sometimes obsolete) GUI code\377"; charset "windows-1250"; diff --git a/uppsrc/TSql/TSql.upp b/uppsrc/TSql/TSql.upp index 20254f8a4..601fecc27 100644 --- a/uppsrc/TSql/TSql.upp +++ b/uppsrc/TSql/TSql.upp @@ -1,4 +1,4 @@ -description "Experimental (sometimes obsolete) SQL code"; +description "Experimental (sometimes obsolete) SQL code\377"; uses Sql, diff --git a/uppsrc/ide/Setup.cpp b/uppsrc/ide/Setup.cpp index 016c614d4..d6e953eb8 100644 --- a/uppsrc/ide/Setup.cpp +++ b/uppsrc/ide/Setup.cpp @@ -316,7 +316,7 @@ void Ide::SetupFormat() { dlg.Add(edt, "Editor"); dlg.Add(ide, "IDE"); dlg.Add(ast, "Code formatting"); - dlg.WhenClose = dlg.Acceptor(IDYES); + dlg.WhenClose = dlg.Acceptor(IDEXIT); FontSelectManager ed, vf, con, f1, f2, tf; ed.Set(fnt.face, fnt.height, fnt.bold, fnt.italic, fnt.naa); vf.Set(fnt.vface, fnt.vheight, fnt.vbold, fnt.vitalic, fnt.vnaa); @@ -444,7 +444,7 @@ void Ide::SetupFormat() { editor.SetHlStyle(i, hlt.hlstyle.Get(i, 1), hlt.hlstyle.Get(i, 2), hlt.hlstyle.Get(i, 3), hlt.hlstyle.Get(i, 4)); UpdateFormat(); - if(c == IDYES) + if(c == IDEXIT) break; if(c == 333 && PromptYesNo("Restore default highlighting colors?")) { editor.DefaultHlStyles();