1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 13:00:08 +00:00

fix for old gcc

This commit is contained in:
Lu Wang 2013-03-21 19:03:20 +08:00
parent 2383470dec
commit ab884e8dd4

View File

@ -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);