Changeset 2626
- Timestamp:
- 08/07/12 16:06:33 (12 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/GenericEdgeDetector.cpp
r2617 r2626 61 61 // should be "xx%" format 62 62 String fstr = option.asString( name ) ; 63 fstr .rtrim( '%') ;63 fstr = fstr.substr(0,fstr.size()-1) ; 64 64 fraction_ = String::toFloat( fstr ) * 0.01 ; 65 65 } -
trunk/src/RasterEdgeDetector.cpp
r2615 r2626 58 58 else { 59 59 // should be "xx%" format 60 fstr. rtrim( '%') ;60 fstr.substr(0,fstr.size()-1) ; 61 61 fraction_ = String::toFloat( fstr ) * 0.01 ; 62 62 }
Note:
See TracChangeset
for help on using the changeset viewer.