Fixed crash on calling Externutil in empty area
This commit is contained in:
parent
4a98ad62d2
commit
7d3cb0f569
@ -12,6 +12,8 @@ ______________________________________________________________________
|
|||||||
Notes for GoldED+ 1.1.5, /snapshot/
|
Notes for GoldED+ 1.1.5, /snapshot/
|
||||||
______________________________________________________________________
|
______________________________________________________________________
|
||||||
|
|
||||||
|
- Fixed crash on calling Externutil in empty area.
|
||||||
|
|
||||||
- GoldED+ will now treat all unknown charsets to be equal to
|
- GoldED+ will now treat all unknown charsets to be equal to
|
||||||
Xlatimport.
|
Xlatimport.
|
||||||
|
|
||||||
|
@ -67,6 +67,9 @@ void SaveLines(int mode, const char* savefile, GMsg* msg, int margin, bool clip)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
msg->attr.tou1();
|
||||||
|
msg->TextToLines(margin);
|
||||||
|
msg->attr.tou0();
|
||||||
TemplateToText(((mode == MODE_WRITE) and prnheader) ? ((prnheader & WRITE_ONLY_HEADER) ? MODE_HEADER : MODE_WRITEHEADER) : MODE_WRITE, msg, msg, AA->WTpl(), CurrArea);
|
TemplateToText(((mode == MODE_WRITE) and prnheader) ? ((prnheader & WRITE_ONLY_HEADER) ? MODE_HEADER : MODE_WRITEHEADER) : MODE_WRITE, msg, msg, AA->WTpl(), CurrArea);
|
||||||
msg->attr.tou1();
|
msg->attr.tou1();
|
||||||
msg->TextToLines(margin);
|
msg->TextToLines(margin);
|
||||||
|
@ -883,7 +883,6 @@ int MsgIsTwit(GMsg* msg, bool& istwitto, bool& istwitsubj) {
|
|||||||
int LoadMessage(GMsg* msg, int margin) {
|
int LoadMessage(GMsg* msg, int margin) {
|
||||||
|
|
||||||
GFTRK("LoadMessage");
|
GFTRK("LoadMessage");
|
||||||
|
|
||||||
if(AA->LoadMsg(msg, AA->Msgn.CvtReln(AA->lastread()), margin)) {
|
if(AA->LoadMsg(msg, AA->Msgn.CvtReln(AA->lastread()), margin)) {
|
||||||
|
|
||||||
// Mark message as received, if it is for us
|
// Mark message as received, if it is for us
|
||||||
|
Reference in New Issue
Block a user