Skip to content

Commit

Permalink
Updates requested in the PR.
Browse files Browse the repository at this point in the history
  • Loading branch information
marek-trtik committed Oct 3, 2017
1 parent d4a04ac commit 6d9f029
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/file_util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ std::string fileutl_parse_extension_in_pathname(const std::string &pathname)
const std::size_t slash_idx=
fwd_slash_idx==std::string::npos ? bwd_slash_idx :
bwd_slash_idx==std::string::npos ? fwd_slash_idx :
std::max(fwd_slash_idx, bwd_slash_idx);
std::max(fwd_slash_idx, bwd_slash_idx);
# elif defined(__linux__) || defined(__APPLE__)
const std::size_t slash_idx=pathname.find_last_of('/');
# else
Expand Down

0 comments on commit 6d9f029

Please sign in to comment.