comctl32/tooltips: return as we found the string

André Hentschel nerv at dawncrow.de
Thu Nov 12 12:32:35 CST 2009


so we dont run into the text not available case.
this fixes problems in processexplorer.
---
 dlls/comctl32/tooltips.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/comctl32/tooltips.c b/dlls/comctl32/tooltips.c
index dba5b3f..5a3f878 100644
--- a/dlls/comctl32/tooltips.c
+++ b/dlls/comctl32/tooltips.c
@@ -398,6 +398,7 @@ static void TOOLTIPS_GetDispInfoA(const TOOLTIPS_INFO *infoPtr, TTTOOL_INFO *too
             toolPtr->lpszText = NULL;
             Str_SetPtrW(&toolPtr->lpszText, buffer);
         }
+        return;
     }
     else {
         ERR("recursive text callback!\n");
-- 

Best Regards, André Hentschel



More information about the wine-patches mailing list