.uppsrc: minor fixes

git-svn-id: svn://ultimatepp.org/upp/trunk@2306 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2010-04-06 07:33:07 +00:00
parent a43b7300fb
commit 31c1901455
4 changed files with 5 additions and 5 deletions

View file

@ -1,4 +1,4 @@
description "Experimental (sometimes obsolete) non-GUI code";
description "Experimental (sometimes obsolete) non-GUI code\377";
charset "windows-1250";

View file

@ -1,4 +1,4 @@
description "Experimental (sometimes obsolete) GUI code";
description "Experimental (sometimes obsolete) GUI code\377";
charset "windows-1250";

View file

@ -1,4 +1,4 @@
description "Experimental (sometimes obsolete) SQL code";
description "Experimental (sometimes obsolete) SQL code\377";
uses
Sql,

View file

@ -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();