|
Here is the patch for a bug I discovered on the
Windows version of AbiWord.
You crash when double clicking in the preview
screen of the Zoom dialog. The problem was with the m_pInsertSymbol
attribute of the XAP_Win32PreviewWidget class. It was not initialized to
zero.
Gilles Saint-Denis
|
Index: abi/src/af/xap/win/xap_Win32PreviewWidget.cpp
===================================================================
RCS file: /cvsroot/abi/src/af/xap/win/xap_Win32PreviewWidget.cpp,v
retrieving revision 1.4
diff -u -r1.4 xap_Win32PreviewWidget.cpp
--- abi/src/af/xap/win/xap_Win32PreviewWidget.cpp 2000/11/03 20:10:31 1.4
+++ abi/src/af/xap/win/xap_Win32PreviewWidget.cpp 2000/11/10 02:33:21
@@ -43,6 +43,7 @@
m_pWin32App = pWin32App;
m_pGraphics = NULL;
m_pPreview = NULL;
+ m_pInsertSymbol = NULL;
if(!m_atomPreviewWidgetClass)
{
