Fix GCC build
This commit is contained in:
@@ -119,7 +119,14 @@ int Area::LoadMsg(GMsg* msg, uint32_t msgno, int margin, int mode) {
|
||||
Latin2Local(msg->re);
|
||||
|
||||
for (Line *ln = msg->lin; ln; ln = ln->next)
|
||||
#ifdef _MSC_VER
|
||||
Latin2Local(ln->txt.begin());
|
||||
#else
|
||||
{ char*str=strdup(ln->txt.data());
|
||||
Latin2Local(str);
|
||||
ln->txt.assign(str);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user