Changeset - r13901:33eead9076ef
[Not reviewed]
master
0 1 0
rubidium - 15 years ago 2009-12-09 09:16:29
rubidium@openttd.org
(svn r18442) -Fix (r18440): warning about SDL_Linked_Version never being NULL on non-Windows systems
1 file changed with 4 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/crashlog.cpp
Show inline comments
 
@@ -172,7 +172,11 @@ char *CrashLog::LogLibraries(char *buffe
 
#endif /* WITH_PNG */
 

	
 
#ifdef WITH_SDL
 
#ifdef DYNAMICALLY_LOADED_SDL
 
	if (SDL_CALL SDL_Linked_Version != NULL) {
 
#else
 
	{
 
#endif
 
		const SDL_version *v = SDL_CALL SDL_Linked_Version();
 
		buffer += seprintf(buffer, last, " SDL:        %d.%d.%d\n", v->major, v->minor, v->patch);
 
	}
0 comments (0 inline, 0 general)