Change up strcasecmp/strncasecmp to be more C++y

This commit is contained in:
iikorni
2026-08-30 16:40:12 -05:00
parent 7a697986c6
commit da2a9a8fbc
32 changed files with 351 additions and 790 deletions
+2 -2
View File
@@ -269,8 +269,8 @@ namespace console {
}
void init() {
if (const auto i = common::check_param("-consize"); i.has_value() && i.value() < com_argc - 1) {
con_buffersize = std::atoi(com_argv[i.value() + 1]) * 1024;
if (const auto i = common::check_param("-consize"); i.has_value() && i.value() < common::_argv.size() - 1) {
con_buffersize = std::atoi(common::_argv[i.value() + 1].c_str()) * 1024;
if (con_buffersize < CON_MINSIZE)
con_buffersize = CON_MINSIZE;
} else