diff --git a/docs.html b/docs.html
index cbae315fd..f403edd83 100644
--- a/docs.html
+++ b/docs.html
@@ -16,6 +16,7 @@ be found at the main SDL page.
Major changes since SDL 1.0.0:
+ - 1.2.1: Fixed 320x200 video mode on framebuffer console
- 1.2.1: Improved robustness for the ELO touchpad (thanks Alex!)
- 1.2.1: Added support for building under Cygwin on Windows
- 1.2.1: Added a dummy video driver for benchmarking (thanks Ryan!)
diff --git a/src/video/fbcon/SDL_fbvideo.c b/src/video/fbcon/SDL_fbvideo.c
index 609fcbc74..23760dd9a 100644
--- a/src/video/fbcon/SDL_fbvideo.c
+++ b/src/video/fbcon/SDL_fbvideo.c
@@ -271,7 +271,7 @@ static int FB_AddMode(_THIS, int index, unsigned int w, unsigned int h)
}
/* Only allow a mode if we have a valid timing for it */
- next_mode = 0;
+ next_mode = -1;
for ( i=0; i<(sizeof(vesa_timings)/sizeof(vesa_timings[0])); ++i ) {
if ( (w == vesa_timings[i].xres) &&
(h == vesa_timings[i].yres) && vesa_timings[i].pixclock ) {
@@ -279,7 +279,7 @@ static int FB_AddMode(_THIS, int index, unsigned int w, unsigned int h)
break;
}
}
- if ( ! next_mode ) {
+ if ( next_mode == -1 ) {
#ifdef FBCON_DEBUG
fprintf(stderr, "No valid timing line for mode %dx%d\n", w, h);
#endif