Skip to content

Commit 87ae1eb

Browse files
authored
Merge pull request #210 from D063520/patch-1
options are parsed wrongly
2 parents 79591a7 + 547f65c commit 87ae1eb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libhdt/src/hdt/HDTSpecification.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ void HDTSpecification::setOptions(const std::string& options) {
4848
std::istringstream strm(options);
4949
std::string singleOption;
5050
while(getline(strm, singleOption, ';') ){
51-
size_t pos = singleOption.find(':');
51+
size_t pos = singleOption.find('=');
5252

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

0 commit comments

Comments
 (0)