Fixed command line parsing for bools
@@ -1154,9 +1154,9 @@ const char *survive_configs(SurviveContext *ctx, const char *tag, char flags, co
else if( foundtype == 'i' )
{
survive_configi(ctx, tag, flags, atoi(def ? def : "0"));
- }
- else if( foundtype == 'f' )
- {
+ } else if (foundtype == 'b') {
+ survive_configb(ctx, tag, flags, atoi(def ? def : "0"));
+ } else if (foundtype == 'f') {
survive_configf( ctx, tag, flags, atof( def ) );
}
