[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]
[XaraXtreme-commits] Commit Complete
Commit by : luke
Repository : xara
Revision : 1169
Date : Tue May 23 10:22:21 BST 2006
Changed paths:
M /Trunk/XaraLX/Kernel/menuops.cpp
Add code to fixup default template name after its name change
Diff:
Index: Trunk/XaraLX/Kernel/menuops.cpp
===================================================================
--- Trunk/XaraLX/Kernel/menuops.cpp (revision 1168)
+++ Trunk/XaraLX/Kernel/menuops.cpp (revision 1169)
@@ -1314,7 +1314,8 @@
TRACEUSER( "jlh92", _T("DefAnimTempl = %s
"), PCTSTR(ms_strDefaultAnimationTemplate) );
}
- if (ms_strDefaultDrawingTemplate==String_256(_T("")))
+ if( ms_strDefaultDrawingTemplate == String_256( _T("") ) ||
+ 0 == camStrcmp( ms_strDefaultDrawingTemplate, _T("default.xar") ) )
{
ms_strDefaultDrawingTemplate=String_256(_R(IDS_DEFAULTDOCNAME));
Xara