No more borders at OpenGL rendering, if window has different aspect ratio than 1...
[mercenary-reloaded.git] / src / mercenary / main.c
index 0ce1a68..5d61b5c 100644 (file)
@@ -1155,7 +1155,10 @@ static void keyboard_sdl(int down, enum keycode keycode)
                        disp_fov:
                        {
                                char text[16];
-                               sprintf(text, "%.2f", config_fov);
+                               if (config_fov < 63.5 || config_fov > 64.5)
+                                       sprintf(text, "%.2f", config_fov);
+                               else
+                                       sprintf(text, "%.2f (default)", config_fov);
                                osd_info("FOV", text);
                        }
 #endif