mirror of
https://github.com/glest/glest-source.git
synced 2025-08-20 23:21:19 +02:00
- bugfix for segfault with new debug method needs to properly init debug system in a new area
This commit is contained in:
@@ -185,6 +185,14 @@ CURL *SystemFlags::initHTTP() {
|
||||
return handle;
|
||||
}
|
||||
|
||||
SystemFlags::SystemFlagsType & SystemFlags::getSystemSettingType(DebugType type) {
|
||||
if(SystemFlags::debugLogFileList == NULL) {
|
||||
SystemFlags::init(false);
|
||||
}
|
||||
|
||||
return (*debugLogFileList)[type];
|
||||
}
|
||||
|
||||
void SystemFlags::init(bool haveSpecialOutputCommandLineOption) {
|
||||
SystemFlags::haveSpecialOutputCommandLineOption = haveSpecialOutputCommandLineOption;
|
||||
//if(SystemFlags::debugLogFileList.size() == 0) {
|
||||
|
Reference in New Issue
Block a user