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/
|
||||
______________________________________________________________________
|
||||
|
||||
- Fixed crash on calling Externutil in empty area.
|
||||
|
||||
- GoldED+ will now treat all unknown charsets to be equal to
|
||||
Xlatimport.
|
||||
|
||||
|
@ -67,6 +67,9 @@ void SaveLines(int mode, const char* savefile, GMsg* msg, int margin, bool clip)
|
||||
}
|
||||
}
|
||||
#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);
|
||||
msg->attr.tou1();
|
||||
msg->TextToLines(margin);
|
||||
|
@ -883,7 +883,6 @@ int MsgIsTwit(GMsg* msg, bool& istwitto, bool& istwitsubj) {
|
||||
int LoadMessage(GMsg* msg, int margin) {
|
||||
|
||||
GFTRK("LoadMessage");
|
||||
|
||||
if(AA->LoadMsg(msg, AA->Msgn.CvtReln(AA->lastread()), margin)) {
|
||||
|
||||
// Mark message as received, if it is for us
|
||||
|
Reference in New Issue
Block a user