From 2e17fb2da00df7470c4c7b1972b4c733603b2466 Mon Sep 17 00:00:00 2001
From: jsalmon3 <>
Date: Tue, 18 Jun 2002 20:27:44 +0000
Subject: [PATCH] Fixed warning

---
 src/ui/menus.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/ui/menus.cpp b/src/ui/menus.cpp
index a94c45cb5..b6f7d2136 100644
--- a/src/ui/menus.cpp
+++ b/src/ui/menus.cpp
@@ -1491,6 +1491,7 @@ local void SetRes(Menuitem *mi)
 
     menu = FindMenu("menu-global-options");
 
+    res=VideoWidth;
     if (mi[+1].d.text.text == menu->items[3].d.text.text) {
 	res=640;
     } else if (mi[+1].d.text.text == menu->items[5].d.text.text) {