Namespace madness to get it to compile with gcc 3.0. Ah, 2.95 works too ;)
This commit is contained in:
@@ -143,7 +143,7 @@ public:
|
||||
int color; // Line color
|
||||
uint type; // GLINE_*
|
||||
uint kludge; // GKLUD_*
|
||||
string txt; // The line text
|
||||
std::string txt; // The line text
|
||||
Line* prev; // Pointer to previous line
|
||||
Line* next; // Pointer to next line
|
||||
|
||||
|
@@ -106,7 +106,7 @@ public:
|
||||
void set_aka(ftn_addr& a) { cfg.aka = a; }
|
||||
void set_originno(int o) { cfg.originno = o; }
|
||||
void set_attr(Attr& a) { cfg.attr = a; }
|
||||
void set_origin(char* o) { string tmp = o; cfg.setorigin(tmp); }
|
||||
void set_origin(char* o) { std::string tmp = o; cfg.setorigin(tmp); }
|
||||
|
||||
void set_scan(bool s) { cfg.scan = (byte)s; }
|
||||
void set_scanexcl(bool s) { cfg.scanexcl = (byte)s; }
|
||||
|
@@ -195,7 +195,7 @@ void SquishArea::raw_scan(int __keep_index, int __scanpm) {
|
||||
// Scan for personal mail
|
||||
if(__scanpm) {
|
||||
int umax = (WidePersonalmail & PM_ALLNAMES) ? WideUsernames : 1;
|
||||
vector<dword> uhash;
|
||||
std::vector<dword> uhash;
|
||||
for(int uh=0; uh<umax; uh++)
|
||||
uhash.push_back(strHash32(WideUsername[uh]));
|
||||
PMrk->Reset();
|
||||
|
Reference in New Issue
Block a user