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

[XaraXtreme-commits] Commit Complete



Commit by  : alex
Repository : xara
Revision   : 973
Date       : Mon May  8 12:16:53 BST 2006

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

Fixed inverse object map for static init resource mappings


Diff:
Index: Trunk/XaraLX/wxOil/camresource.cpp
===================================================================
--- Trunk/XaraLX/wxOil/camresource.cpp	(revision 972)
+++ Trunk/XaraLX/wxOil/camresource.cpp	(revision 973)
@@ -1380,7 +1380,9 @@
 	{
 		if (pRem->text)
 		{
-//			ResourceID r = GetResourceID(pRem->text);
+			// Do not comment out the next line. It does something useful (make the inverse object
+			// map work for static text)
+			/*ResourceID r =*/ GetResourceID(pRem->text);
 //			TRACEUSER("amb",_T("Fixed up static init translation from %s to %d"),pRem->text,r);
 			free (pRem->text);
 		}


Xara