changeset 92:bb06c087cd38

history fixed
author zipi
date Wed, 06 Feb 2013 22:51:11 +0000
parents 471b1354cc73
children b9ac55f2c8e6
files GUIFont.cpp GUIWindow.h
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/GUIFont.cpp	Wed Feb 06 22:37:18 2013 +0000
+++ b/GUIFont.cpp	Wed Feb 06 22:51:11 2013 +0000
@@ -463,7 +463,7 @@
   size_t v9; // eax@3
   signed int v10; // esi@3
   int v11; // edx@4
-  unsigned __int8 v12; // cl@4
+  unsigned int v12; // cl@4
   GUIFont *v13; // [sp+Ch] [bp-4h]@1
   size_t uXa; // [sp+1Ch] [bp+Ch]@3
 
@@ -487,6 +487,7 @@
       if ( v10 >= (signed int)uXa )
         return (int)v8;
     }
+	v12=(unsigned int)v8;
     if ( v12 != 9 )
     {
       if ( v12 == 10 )
--- a/GUIWindow.h	Wed Feb 06 22:37:18 2013 +0000
+++ b/GUIWindow.h	Wed Feb 06 22:51:11 2013 +0000
@@ -77,7 +77,7 @@
   WINDOW_AutonotesBook = 0xC9,
   WINDOW_MapsBook = 0xCA,
   WINDOW_CalendarBook = 0xCB,
-  WINDOW_HistoryBook = 0xCC,
+  WINDOW_HistoryBook = 0xE0,
 };
 
 /*  155 */