Skip to content

Commit

Permalink
Fix misplaced parenthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
jyrkive authored and GregoryLundberg committed Nov 30, 2017
1 parent daee4dd commit b5495b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/formula/function.cpp
Expand Up @@ -452,7 +452,7 @@ DEFINE_WFL_FUNCTION(insert, 3, 3)
if(offset < 0) {
offset = 0;
}
} else if(static_cast<size_t>(offset >= result.size())) {
} else if(static_cast<size_t>(offset) >= result.size()) {
return variant(result + insert);
}

Expand Down

0 comments on commit b5495b5

Please sign in to comment.