[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]

[XaraXtreme-commits] Commit Complete



Commit by  : luke
Repository : xara
Revision   : 804
Date       : Tue Apr 11 17:42:09 BST 2006

Changed paths:
   M /Trunk/XaraLX/wxOil/keypress.cpp

Oops, probuably should exit ExtraUnicode loop when we find a match! This fixes the issue with arrow keys stopping working


Diff:
Index: Trunk/XaraLX/wxOil/keypress.cpp
===================================================================
--- Trunk/XaraLX/wxOil/keypress.cpp	(revision 803)
+++ Trunk/XaraLX/wxOil/keypress.cpp	(revision 804)
@@ -999,8 +999,11 @@
 			{
 				// We have found an entry in our table for the given virtual key
 				if( ExtraUnicodes[i].VirtKey == pKeySysMsg->VirtKey )
+				{
 					// Stuff the Unicode value into the buffer and set the num chars generated to 1
 					pWideChar[0] = ExtraUnicodes[i].Unicode;
+					break;
+				}
 			}
 			
 			// Don't pass on unknown function keys


Xara