Uwe Stöhr wrote: > Am 13.05.2015 um 09:08 schrieb Pavel Sanda: > >> You are repeatably uing this contruct: >> thickness_string.find(defaultThick) != string::npos >> >> What is thickness_string and similar supposed to contain? > > thickness_string contains the thickness parameter. It contains e.g. "5cm" > if the frame thickness is 5cm.
so you could just use thickness_string==defaultThick ? p
