Skip to content

Commit

Permalink
Merge branch 'master' of github.com:coolwanglu/pdf2htmlEX
Browse files Browse the repository at this point in the history
  • Loading branch information
coolwanglu committed Mar 21, 2013
2 parents 21a57dc + c57bd1a commit b337163
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/path.cc
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ bool sanitize_filename(string & filename)
}

// Check to see if we yielded a valid format specifier
if('d' == tmp.back())
if('d' == tmp[tmp.size()-1])
{
// Found a valid integer format
sanitized.append(tmp);
Expand Down

0 comments on commit b337163

Please sign in to comment.