Fixed ToLower, ToUpper functons in Editor

This commit is contained in:
Alexander S. Aganichev 2001-05-17 05:14:33 +00:00
parent 8a624926cc
commit 478e6e0e62
4 changed files with 8 additions and 5 deletions

View File

@ -47,7 +47,7 @@ LIBEXT=.a
endif endif
endif endif
endif endif
CFLAGS+=-g -funsigned-char $(INCS) -Wall -Wno-sign-compare -pedantic #-O2# -fomit-frame-pointer CFLAGS+=-g -funsigned-char $(INCS) -Wall -Wno-sign-compare -pedantic -O2# -fomit-frame-pointer
LNKFLAGS+=-g LNKFLAGS+=-g
CPPFLAGS+=$(CFLAGS) -fno-exceptions -fno-rtti CPPFLAGS+=$(CFLAGS) -fno-exceptions -fno-rtti

View File

@ -48,7 +48,9 @@ assistance!
<>ˆŒ€<C592>ˆ…: â®, çâ® GoldED+/w32 ¯®ª §ë¢ ¥â ­¥¯à ¢¨«ì­®¥ ¢à¥¬ï ¤¢¥ ­¥¤¥«¨ ¢ <>ˆŒ€<C592>ˆ…: â®, çâ® GoldED+/w32 ¯®ª §ë¢ ¥â ­¥¯à ¢¨«ì­®¥ ¢à¥¬ï ¤¢¥ ­¥¤¥«¨ ¢
£®¤ã ­¥ ï¥âáï ¡ £®¬ GoldED+, íâ® ¯à®¡«¥¬  CRTDLL.DLL, ¯®áâ ¢«ï¥¬®£® £®¤ã ­¥ ï¥âáï ¡ £®¬ GoldED+, íâ® ¯à®¡«¥¬  CRTDLL.DLL, ¯®áâ ¢«ï¥¬®£®
ä¨à¬®© Microsoft ¢ á®áâ ¢¥ ¢ è¥© ®¯¥à æ¨®­­®© á¨á⥬ë. Ž¡à â¨â¥áì ª ä¨à¬®© Microsoft ¢ á®áâ ¢¥ ¢ è¥© ®¯¥à æ¨®­­®© á¨á⥬ë. Ž¡à â¨â¥áì ª
¯à®¨§¢®¤¨â¥«î ¢ è¥© Ž‘ á ¯à®áì¡®© ¨á¯à ¢¨âì íâ㠮訡ªã. ¯à®¨§¢®¤¨â¥«î ¢ è¥© Ž‘ á ¯à®áì¡®© ¨á¯à ¢¨âì íâ㠮訡ªã. GoldED+/w32
¢¥àᨨ 1.1.5 ¡ã¤¥â ᮡ࠭ á MSVCRT.DLL, £¤¥ ¤ ­­ ï ®è¨¡ª  ¡ã¤¥â
¨á¯à ¢«¥­ .
*Q:* € ª ª ¦¥ ¢á¥-â ª¨ ¯à ¢¨«ì­® ¬¥­ïâì SoftCR ¯à¨ ­ ¡®à¥ ¨ ¨¬¥âì á í⨬ *Q:* € ª ª ¦¥ ¢á¥-â ª¨ ¯à ¢¨«ì­® ¬¥­ïâì SoftCR ¯à¨ ­ ¡®à¥ ¨ ¨¬¥âì á í⨬
¬¥­ìè¥ ¢á¥£® ¯à®¡«¥¬? ¬¥­ìè¥ ¢á¥£® ¯à®¡«¥¬?

View File

@ -1887,7 +1887,7 @@ void IEclass::ToLower() {
GFTRK("EditToLower"); GFTRK("EditToLower");
if(col >= currline->txt.length()) { if(col < currline->txt.length()) {
Undo->PushItem(EDIT_UNDO_OVR_CHAR); Undo->PushItem(EDIT_UNDO_OVR_CHAR);
currline->txt[col] = tolower(currline->txt[col]); currline->txt[col] = tolower(currline->txt[col]);
} }
@ -1902,7 +1902,7 @@ void IEclass::ToggleCase() {
GFTRK("EditToggleCase"); GFTRK("EditToggleCase");
if(col >= currline->txt.length()) { if(col < currline->txt.length()) {
Undo->PushItem(EDIT_UNDO_OVR_CHAR); Undo->PushItem(EDIT_UNDO_OVR_CHAR);
if(toupper(currline->txt[col]) == currline->txt[col]) if(toupper(currline->txt[col]) == currline->txt[col])
currline->txt[col] = tolower(currline->txt[col]); currline->txt[col] = tolower(currline->txt[col]);

View File

@ -125,7 +125,7 @@ void GMsgList::close() {
void GMsgList::update_marks(MLst *ml) { void GMsgList::update_marks(MLst *ml) {
ml->high = 0; ml->high &= ~(MLST_HIGH_BOOK|MLST_HIGH_MARK);
strcpy(ml->marks, " "); strcpy(ml->marks, " ");
@ -157,6 +157,7 @@ void GMsgList::ReadMlst(int n) {
ml->msgno = AA->Msgn.CvtReln(n + 1); ml->msgno = AA->Msgn.CvtReln(n + 1);
ml->high = 0;
update_marks(ml); update_marks(ml);
if(AA->Msglistfast()) { if(AA->Msglistfast()) {