Latest changes

This commit is contained in:
Alexander S. Aganichev
2004-10-04 14:50:08 +00:00
parent 291fbc018d
commit 36382af659
19 changed files with 56 additions and 24 deletions

View File

@@ -1052,6 +1052,9 @@ int ReadKeysCfg(int force) {
if(*ptr == '\"') { // Start of literal string
ptr++;
while((*ptr != '\"') and (n < (sizeof(tmp2.buf)/sizeof(gkey)))) {
// allow '\"' and '\\' in config
if((ptr[0] == '\\') and ((ptr[1] == '\"') or (ptr[1] == '\\')))
ptr++;
ch = *ptr++;
tmp2.buf[n++] = (gkey)(ch | (scancode(ch) << 8));
}

View File

@@ -337,6 +337,7 @@ static LangCrc LangCrcs[] = {
{ CRC_IL_NOTPLDEFINED , NULL , " No templates defined. Press key " },
{ CRC_IL_NOTHREADLIST , NULL , " Sorry, no thread available. Press key "},
{ CRC_MS_SKIPPINGTWIT , NULL , "Skipping Twit Message..." },
{ CRC_MS_SKIPPINGDELETED , NULL , "Skipping Deleted Message..." },
{ CRC_MS_KILLINGTWIT , NULL , "Killing Twit Message..." },
{ CRC_IL_WRITINGCFG , NULL , " Writing Configuration " },
{ CRC_IL_COULDNOTOPEN , NULL , " Couldn't open %s " },

View File

@@ -218,7 +218,7 @@ int ShellToDos(char* command, char* message, int cls, int cursor, int pause) {
int error = 0;
#if defined(GUTLOS_FUNCS)
char ge_temptitle[GMAXTITLE];
char ge_temptitle[GMAXTITLE+1];
#endif
#ifndef __UNIX__

View File

@@ -324,6 +324,7 @@ struct LangGed {
char* NoTplDefined; // IL_NOTPLDEFINED
char* NoThreadlist; // IL_NOTHREADLIST
char* SkippingTwit; // MS_SKIPPINGTWIT
char* SkippingDeleted; // MS_SKIPPINGDELETED
char* KillingTwit; // MS_KILLINGTWIT
char* WritingCfg; // IL_WRITINGCFG
char* CouldNotOpen; // IL_COULDNOTOPEN

View File

@@ -367,7 +367,12 @@ void Reader() {
}
}
else {
BodyView->Paint();
if(CFG->showdeleted or not msg->attr.del())
BodyView->Paint();
else {
BodyView->window.clear();
BodyView->window.prints(1, 0, C_READW, LNG->SkippingDeleted);
}
}
if(reader_rcv_noise) {