Added Showdeleted indicator, fixed for MSVCRT
This commit is contained in:
parent
d794f70ae8
commit
8a624926cc
@ -12,6 +12,8 @@ ______________________________________________________________________
|
|||||||
Notes for GoldED+ 1.1.5, /snapshot/
|
Notes for GoldED+ 1.1.5, /snapshot/
|
||||||
______________________________________________________________________
|
______________________________________________________________________
|
||||||
|
|
||||||
|
+ Added ShowDeleted indicator to status line.
|
||||||
|
|
||||||
- Fixed few bugs in Undo feature.
|
- Fixed few bugs in Undo feature.
|
||||||
|
|
||||||
+ Added support for AdeptXBBS for non-OS/2 systems.
|
+ Added support for AdeptXBBS for non-OS/2 systems.
|
||||||
|
@ -264,22 +264,24 @@ void Reader() {
|
|||||||
if(AA->isreadmark or AA->isreadpm) {
|
if(AA->isreadmark or AA->isreadpm) {
|
||||||
GTag& tag = AA->isreadpm ? AA->PMrk : AA->Mark;
|
GTag& tag = AA->isreadpm ? AA->PMrk : AA->Mark;
|
||||||
uint mtemp = tag.Find(msg->msgno);
|
uint mtemp = tag.Find(msg->msgno);
|
||||||
sprintf(buf2, "%s [%s%s%s]",
|
sprintf(buf2, "%s [%s%s%s%s]",
|
||||||
LNG->ReadMarked,
|
LNG->ReadMarked,
|
||||||
AA->Viewhidden() ? "H" : "",
|
AA->Viewhidden() ? "H" : "",
|
||||||
AA->Viewkludge() ? "K" : "",
|
AA->Viewkludge() ? "K" : "",
|
||||||
AA->Twitmode() == TWIT_IGNORE ? "Ti" : AA->Twitmode() == TWIT_SKIP ? "Ts" : AA->Twitmode() == TWIT_BLANK ? "Tb" : AA->Twitmode() == TWIT_KILL ? "Tk" : ""
|
AA->Twitmode() == TWIT_IGNORE ? "Ti" : AA->Twitmode() == TWIT_SKIP ? "Ts" : AA->Twitmode() == TWIT_BLANK ? "Tb" : AA->Twitmode() == TWIT_KILL ? "Tk" : "",
|
||||||
|
CFG->showdeleted ? "D" : ""
|
||||||
);
|
);
|
||||||
sprintf(buf, buf2,
|
sprintf(buf, buf2,
|
||||||
mtemp, tag.Count(), tag.Count()-mtemp
|
mtemp, tag.Count(), tag.Count()-mtemp
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
sprintf(buf2, "%s [%s%s%s]",
|
sprintf(buf2, "%s [%s%s%s%s]",
|
||||||
LNG->ReadAll,
|
LNG->ReadAll,
|
||||||
AA->Viewhidden() ? "H" : "",
|
AA->Viewhidden() ? "H" : "",
|
||||||
AA->Viewkludge() ? "K" : "",
|
AA->Viewkludge() ? "K" : "",
|
||||||
AA->Twitmode() == TWIT_IGNORE ? "Ti" : AA->Twitmode() == TWIT_SKIP ? "Ts" : AA->Twitmode() == TWIT_BLANK ? "Tb" : AA->Twitmode() == TWIT_KILL ? "Tk" : ""
|
AA->Twitmode() == TWIT_IGNORE ? "Ti" : AA->Twitmode() == TWIT_SKIP ? "Ts" : AA->Twitmode() == TWIT_BLANK ? "Tb" : AA->Twitmode() == TWIT_KILL ? "Tk" : "",
|
||||||
|
CFG->showdeleted ? "D" : ""
|
||||||
);
|
);
|
||||||
sprintf(buf, buf2,
|
sprintf(buf, buf2,
|
||||||
AA->lastread(), AA->Msgn.Count(), AA->Msgn.Count()-AA->lastread()
|
AA->lastread(), AA->Msgn.Count(), AA->Msgn.Count()-AA->lastread()
|
||||||
|
@ -134,14 +134,18 @@ int g_init_os(int flags) {
|
|||||||
GetConsoleTitle(ge_win_coldtitle, sizeof(ge_win_coldtitle));
|
GetConsoleTitle(ge_win_coldtitle, sizeof(ge_win_coldtitle));
|
||||||
if(WinVer.dwPlatformId == VER_PLATFORM_WIN32_NT) {
|
if(WinVer.dwPlatformId == VER_PLATFORM_WIN32_NT) {
|
||||||
for(i = 0; i < 256; i++) {
|
for(i = 0; i < 256; i++) {
|
||||||
|
#ifndef __MSVCRT__
|
||||||
tu[i] = (toupper)(i);
|
tu[i] = (toupper)(i);
|
||||||
tl[i] = (tolower)(i);
|
tl[i] = (tolower)(i);
|
||||||
|
#endif
|
||||||
if(i >= ' ') {
|
if(i >= ' ') {
|
||||||
CHAR chr = (CHAR)i;
|
CHAR chr = (CHAR)i;
|
||||||
MultiByteToWideChar(CP_OEMCP, 0, &chr, 1, oem2unicode+i, 1);
|
MultiByteToWideChar(CP_OEMCP, 0, &chr, 1, oem2unicode+i, 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#ifndef __MSVCRT__
|
||||||
return 0;
|
return 0;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
// Due to Win9x doesn't have proper locale support we should rebuild
|
// Due to Win9x doesn't have proper locale support we should rebuild
|
||||||
// tolower/toupper tables
|
// tolower/toupper tables
|
||||||
|
Reference in New Issue
Block a user