Fixes a reproducible crash when built with VS2012 Premium in Debug and Retail builds.
sprnames list must be NULL-terminated; fixes crash when starting up D…
Can change the (const char * const)NULL to '\0' works just as well and no need for a cast :)
No I don't think it would, but stranger things have been known to happen. The code is searching for a NULL pointer value to terminate the list, not a pointer to a string containing a 0 character.
Im not sure why but it works fine though it may not be 100% correct.
Though a lot of compilers treat '\0' the same way as a const integral 0 atleast according to many discussions on the matter.
Compilers are indeed strange ;)
Oh I see what you're saying, the '\0' character, not a "\0" string. Then yeah, that would work.