mirror of
https://github.com/nzp-team/fteqw.git
synced 2025-01-20 15:31:02 +00:00
Fix the cause of all of OneManClan's issues. A 64bit portability issue that won't always trigger on every 64bit machine. Thanks to OMC for helping me find that.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3963 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
c1db4356f7
commit
420438ea79
1 changed files with 1 additions and 1 deletions
|
@ -505,7 +505,7 @@ string_t PR_StringToProgs (progfuncs_t *progfuncs, char *str)
|
||||||
if (!str)
|
if (!str)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
if (str-progfuncs->stringtable < addressableused)
|
if (str >= progfuncs->stringtable && str < progfuncs->stringtable + addressableused)
|
||||||
return str - progfuncs->stringtable;
|
return str - progfuncs->stringtable;
|
||||||
|
|
||||||
for (i = prinst->numallocedstrings-1; i >= 0; i--)
|
for (i = prinst->numallocedstrings-1; i >= 0; i--)
|
||||||
|
|
Loading…
Reference in a new issue