Changeset - r15314:688cdefb5cda
[Not reviewed]
master
0 1 0
peter1138 - 14 years ago 2010-06-12 10:55:13
peter1138@openttd.org
(svn r19965) -Cleanup: Use size of buffer, not magic number.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/video/sdl_v.cpp
Show inline comments
 
@@ -476,7 +476,7 @@ const char *VideoDriver_SDL::Start(const
 
		return SDL_CALL SDL_GetError();
 
	}
 

	
 
	SDL_CALL SDL_VideoDriverName(buf, 30);
 
	SDL_CALL SDL_VideoDriverName(buf, sizeof buf);
 
	DEBUG(driver, 1, "SDL: using driver '%s'", buf);
 

	
 
	MarkWholeScreenDirty();
0 comments (0 inline, 0 general)