diff --git a/docs/notework.txt b/docs/notework.txt index b384ba4..14bc074 100644 --- a/docs/notework.txt +++ b/docs/notework.txt @@ -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. diff --git a/golded3/gedoit.cpp b/golded3/gedoit.cpp index 9fc96fb..c659be0 100644 --- a/golded3/gedoit.cpp +++ b/golded3/gedoit.cpp @@ -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); diff --git a/golded3/geread.cpp b/golded3/geread.cpp index 2842748..8a99d8d 100644 --- a/golded3/geread.cpp +++ b/golded3/geread.cpp @@ -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