summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/settings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings.cpp b/src/settings.cpp
index 2cce2d35c..cae88d189 100644
--- a/src/settings.cpp
+++ b/src/settings.cpp
@@ -1133,7 +1133,7 @@ static void AILoadConfig(IniFile *ini, const char *grpname)
continue;
}
}
- config->StringToSettings(item->value);
+ if (item->value != NULL) config->StringToSettings(item->value);
}
}