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

[XaraXtreme-commits] Commit Complete



Commit by  : luke
Repository : xara
Revision   : 795
Date       : Mon Apr 10 11:35:52 BST 2006

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

Fix my last update


Diff:
Index: Trunk/XaraLX/wxOil/keypress.cpp
===================================================================
--- Trunk/XaraLX/wxOil/keypress.cpp	(revision 794)
+++ Trunk/XaraLX/wxOil/keypress.cpp	(revision 795)
@@ -994,7 +994,8 @@
 		// We still have to try our custom translations (for VirtKey >= WXK_START
 		if( pKeySysMsg->VirtKey >= WXK_START )
 		{
-			for( INT32 i = 0; ExtraUnicodes[i].VirtKey != CAMKEY(CC_NONE); ++i )
+			INT32 i;
+			for( i = 0; ExtraUnicodes[i].VirtKey != CAMKEY(CC_NONE); ++i )
 			{
 				// We have found an entry in our table for the given virtual key
 				if( ExtraUnicodes[i].VirtKey == pKeySysMsg->VirtKey )


Xara