FWGS / xash3d

DEPRECATED in favor of https://github.com/FWGS/xash3d-fwgs. Only bugfixes are accepted.
https://xash.su
GNU General Public License v3.0
553 stars 109 forks source link

Fix of pfnDrawStringReverse #121

Closed gamelaster closed 8 years ago

gamelaster commented 8 years ago

A for function used a initial declaration what is enabled only in C11 or C99, so i maked declaration before for.

nekonomicon commented 8 years ago

Hmm...

-char * szIt = str;
+char *szIt;
gamelaster commented 8 years ago

@nekonomicon Yes, the declaration needs to be outside of for.

nekonomicon commented 8 years ago

@GAMELASTER, It seems you do not understand me. Your patch correct but needs remove duplicate initialization.

mittorn commented 8 years ago

Same fix already in code-clean2 branch, will be merged after some time