From 1dba4903a1ff2598107992c925ae431f22c78868 Mon Sep 17 00:00:00 2001 From: Chokboyz Date: Sat, 19 Sep 2009 00:18:51 +0000 Subject: [PATCH] *Fixed a typo in the "Small Rebellion" scenario's name. *In dialogue mode, if the text box is enabled, it now has focus by default. Chokboyz git-svn-id: http://openexile.googlecode.com/svn/trunk@126 4ebdad44-0ea0-11de-aab3-ff745001d230 --- Win32/Blades of Exile/GAMEDLOG.RC | 2 +- Win32/Blades of Exile/boe.dlgutil.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Win32/Blades of Exile/GAMEDLOG.RC b/Win32/Blades of Exile/GAMEDLOG.RC index b9d1786e..1ea8dd43 100644 --- a/Win32/Blades of Exile/GAMEDLOG.RC +++ b/Win32/Blades of Exile/GAMEDLOG.RC @@ -26,7 +26,7 @@ STYLE WS_POPUP | WS_DLGFRAME LTEXT "=The Valley of Dying Things - Easy Difficulty| The crops have withered, the children are dying, and even the water burns. Can you find the source of the sickness before the entire valley dies?", 5, 81, 34, 292, 80 LTEXT "0_143", 6, 11, 33, 367, 81 LTEXT "5_1411", 7, 10, 135, 64, 64 - LTEXT "=A Mild Rebellion - Medium Difficulty| The enemy - a secret band of deadly rebels. The job - infiltrate them, win their trust, and find their leader. The question - are you fighting on the right side?", 8, 81, 127, 292, 80 + LTEXT "=A Small Rebellion - Medium Difficulty| The enemy - a secret band of deadly rebels. The job - infiltrate them, win their trust, and find their leader. The question - are you fighting on the right side?", 8, 81, 127, 292, 80 LTEXT "0_143", 9, 10, 127, 368, 80 LTEXT "5_1412", 10, 10, 228, 64, 64 LTEXT "=The Za-Khazi Run - Hard Difficulty| A fortress is under siege, and only you can get them the weapons they need to survive. You have 20 days to find your way through the nastiest caves in Exile, or all will be lost.", 11, 81, 220, 292, 80 diff --git a/Win32/Blades of Exile/boe.dlgutil.cpp b/Win32/Blades of Exile/boe.dlgutil.cpp index 1acbb32d..abe6ba4b 100644 --- a/Win32/Blades of Exile/boe.dlgutil.cpp +++ b/Win32/Blades of Exile/boe.dlgutil.cpp @@ -445,6 +445,7 @@ void start_talk_mode(short m_num,short personality,unsigned char monst_type,shor store_edit_parent = mainPtr; old_edit_proc = (WNDPROC) (GetWindowLong(talk_edit_box,GWL_WNDPROC)); SetWindowLong(talk_edit_box,GWL_WNDPROC,(LONG) edit_proc); + SetFocus(talk_edit_box); } // first make sure relevant talk strs are loaded in