mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-21 12:29:18 +02:00
general tweaks
This commit is contained in:
@@ -328,7 +328,7 @@ global_settings::ConfigParse(cParser &Parser) {
|
||||
std::string token;
|
||||
Parser >> token;
|
||||
std::istringstream stream(token);
|
||||
if (token.find(':')) {
|
||||
if (token.find(':') != -1) {
|
||||
float a, b;
|
||||
char s;
|
||||
stream >> a >> s >> b;
|
||||
|
||||
Reference in New Issue
Block a user