diff --git a/golded3/gecfgg.h b/golded3/gecfgg.h index 8ebeab5..4088808 100644 --- a/golded3/gecfgg.h +++ b/golded3/gecfgg.h @@ -31,6 +31,8 @@ #include #include "gekeys.h" +#define AREALISTSORTSIZE 20 // Size of the "arealistsort" variable + // ------------------------------------------------------------------ // en_gswitches{} enumeration elements shoulds be complemented with // globalbool[] array elements (see gccfgg0.cpp). @@ -244,7 +246,7 @@ public: int arealistechomax; char arealistformat[80]; char arealistgrouporder[256]; - char arealistsort[20]; // areasort[10]; + char arealistsort[AREALISTSORTSIZE]; int arealisttype; Path areapath; gstrarray areapmscan; diff --git a/golded3/gmarea.h b/golded3/gmarea.h index 447ba0a..a388e61 100644 --- a/golded3/gmarea.h +++ b/golded3/gmarea.h @@ -189,7 +189,7 @@ public: area_iterator item; // Sort specs (for external compare func) - char sortspec[20]; + char sortspec[AREALISTSORTSIZE]; // Active msgbases (bitmap of MT_* contants) std::vector basetypes;