16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-21 18:19:19 +02:00

general tweaks

This commit is contained in:
milek7
2019-09-28 22:52:01 +02:00
parent fc13d6c2a9
commit 106f64f0ba
7 changed files with 11 additions and 21 deletions

View File

@@ -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;