use macros instead inline constants
This commit is contained in:
parent
20c366b27e
commit
7561fa3569
@ -31,6 +31,8 @@
|
||||
#include <geall.h>
|
||||
#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;
|
||||
|
@ -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<std::string> basetypes;
|
||||
|
Reference in New Issue
Block a user