rnd-20060802-4-src
[rocksndiamonds.git] / src / screens.c
index fbe8007298591b372fb1386f81bace9f1e10e645..dde113085d96c36857972b05313d04dc27c1cfba 100644 (file)
@@ -2576,7 +2576,7 @@ static void execSetupGraphics()
       get_aspect_ratio_from_screen_mode(&video.fullscreen_modes[i], &xx, &yy);
 
       ti->node_top = &screen_modes;
-      ti->sort_priority = x * y;
+      ti->sort_priority = x * 10000 + y;
 
       sprintf(identifier, "%dx%d", x, y);
       sprintf(name,     "%d x %d [%d:%d]", x, y, xx, yy);