Index: tooltips.c
===================================================================
RCS file: /home/wine/wine/dlls/comctl32/tooltips.c,v
retrieving revision 1.60
diff -u -r1.60 tooltips.c
--- tooltips.c	22 Sep 2003 21:32:33 -0000	1.60
+++ tooltips.c	27 Oct 2003 05:26:04 -0000
@@ -177,6 +177,12 @@
 {
     TTTOOL_INFO *toolPtr = &infoPtr->tools[nTool];
 
+    if(!toolPtr) {
+        ERR("toolPtr == NULL !\n");
+        infoPtr->szTipText[0] = L'\0';
+        return;
+    }
+
     if (HIWORD((UINT)toolPtr->lpszText) == 0) {
 	/* load a resource */
 	TRACE("load res string %p %x\n",
