Skip to content

Commit

Permalink
Fix typo in the Windows binding source (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
miniben-90 authored Dec 13, 2022
1 parent ccb6139 commit 5db28ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/windows/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ std::string getFileName(const std::string &value) {
size_t index = value.rfind(separator, value.length());

if (index != std::string::npos) {
return (value.substr(index + 1, value.length() - i));
return (value.substr(index + 1, value.length() - index));
}

return ("");
Expand Down

0 comments on commit 5db28ce

Please sign in to comment.