[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]
Re: [XaraXtreme-dev] Xcode project query
- From: Luke Hart <lukeh@xxxxxxxx>
- Date: Fri, 07 Apr 2006 12:19:46 +0100
- Subject: Re: [XaraXtreme-dev] Xcode project query
Ben Fowler wrote:
I have modified these files to avoid warnings:
Index: Kernel/filtimop.cpp
===================================================================
--- Kernel/filtimop.cpp (revision 787)
+++ Kernel/filtimop.cpp (working copy)
@@ -187,10 +187,10 @@
m_pthFile=pthFile;
m_fInsert=fInsert;
m_pfileFile=pfileFile;
- m_fReportErrors=NULL;
+ m_fReportErrors=0;
// init where the graphic is exported to
- // this makes a reasonable guess but should be set latter
+ // this makes a reasonable guess but should be set later
m_GraphicPath = pthFile;
m_GraphicPath.SetType("gif");
}
Index: wxOil/camdoc.cpp
===================================================================
--- wxOil/camdoc.cpp (revision 787)
+++ wxOil/camdoc.cpp (working copy)
@@ -1640,6 +1640,7 @@
#else
wxMessageBox( _T("Save functionality has not been implemented yet.
Operation not performed."), _T("Unimplemented"),
wxOK | wxICON_EXCLAMATION );
+ return false;
#endif
}
Index: wxOil/fontbase.cpp
===================================================================
--- wxOil/fontbase.cpp (revision 787)
+++ wxOil/fontbase.cpp (working copy)
@@ -883,8 +883,10 @@
BOOL FontMetricsCacheEntry::CacheFontMetrics( wxDC* pDC,
CharDescription FontDesc,
MILLIPOINT DefaultHeight, INT32 DesignSize )
{
+#ifdef __WXGTK__
INT32 Ascent;
INT32 Descent;
+#endif
// these values are ignored - the DesignSize needs to be read from
the font, so the
// scaling needs to be done by FTFontMan itself
APPLIED
As a small note for future patches, please attach them rather than put
them inline. This makes applying them much easier, since it avoids mail
clients reformating them!
Thanks,
Luke