Skip to content

Commit

Permalink
Merge pull request #210 from D063520/patch-1
Browse files Browse the repository at this point in the history
options are parsed wrongly
  • Loading branch information
mielvds authored Aug 3, 2020
2 parents 79591a7 + 547f65c commit 87ae1eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libhdt/src/hdt/HDTSpecification.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ void HDTSpecification::setOptions(const std::string& options) {
std::istringstream strm(options);
std::string singleOption;
while(getline(strm, singleOption, ';') ){
size_t pos = singleOption.find(':');
size_t pos = singleOption.find('=');

if(pos!=std::string::npos) {
std::string property = singleOption.substr(0, pos);
Expand Down

0 comments on commit 87ae1eb

Please sign in to comment.