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

maintenance: string search methods

This commit is contained in:
tmj-fstate
2021-05-27 14:23:00 +02:00
parent b3940d47cb
commit 7b816594ba
23 changed files with 120 additions and 106 deletions

View File

@@ -1259,7 +1259,7 @@ global_settings::export_as_text( std::ostream &Output, std::string const Key, st
if( Value.empty() ) { return; }
if( Value.find( ' ' ) != std::string::npos ) {
if( contains( Value, ' ' ) ) {
Output << Key << " \"" << Value << "\"\n";
}
else {