mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-07-05 01:28:39 +00:00
fix for old gcc
This commit is contained in:
parent
2383470dec
commit
ab884e8dd4
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user