# HG changeset patch # User zipi # Date 1360191071 0 # Node ID bb06c087cd3870241b45febff14fcb0c3c65f492 # Parent 471b1354cc73ac9505c528f40a76fafe73026419 history fixed diff -r 471b1354cc73 -r bb06c087cd38 GUIFont.cpp --- 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 ) diff -r 471b1354cc73 -r bb06c087cd38 GUIWindow.h --- 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 */