From 32052d17fde83ad028d80d16c7cce981285d6e8b Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sat, 24 Feb 2007 02:26:02 +0000 Subject: Fix video_driver setting. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 842 --- src/i_video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/i_video.c b/src/i_video.c index 0e66154e..bbf35326 100644 --- a/src/i_video.c +++ b/src/i_video.c @@ -1114,7 +1114,7 @@ static void SetSDLVideoDriver(void) char *env_string; env_string = malloc(strlen(video_driver) + 30); - sprintf(env_string, "SDL_VIDEODRIVER=%s", env_string); + sprintf(env_string, "SDL_VIDEODRIVER=%s", video_driver); putenv(env_string); free(env_string); } -- cgit v1.2.3