- changed FString API to use ptrdiff_t instead of long for signed size arguments.
This commit is contained in:
parent
1d96b68e1a
commit
c3772fe203
18 changed files with 102 additions and 102 deletions
|
|
@ -90,8 +90,8 @@ static int FindGFXFile(FString & fn)
|
|||
if (lump != -1) return lump;
|
||||
|
||||
int best = -1;
|
||||
int dot = fn.LastIndexOf('.');
|
||||
int slash = fn.LastIndexOf('/');
|
||||
auto dot = fn.LastIndexOf('.');
|
||||
auto slash = fn.LastIndexOf('/');
|
||||
if (dot > slash) fn.Truncate(dot);
|
||||
|
||||
static const char * extensions[] = { ".png", ".jpg", ".tga", ".pcx", nullptr };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue