[Bug 41989] Musette crashes in winex11

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Feb 3 02:15:03 CST 2017


https://bugs.winehq.org/show_bug.cgi?id=41989

Louis Lenders <xerox_xerox2000 at yahoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |xerox_xerox2000 at yahoo.co.uk
                URL|                            |http://musettemusic.com/dow
                   |                            |nload.php
           Keywords|                            |download
     Ever confirmed|0                           |1
            Summary|program will not load and   |Musette crashes in winex11
                   |run                         |
             Status|UNCONFIRMED                 |NEW

--- Comment #4 from Louis Lenders <xerox_xerox2000 at yahoo.co.uk> ---
Confirming and added downloadlink and changed title. Needs investigation from
someone with knowledge in this area.

(@Reporter: With hack below you can start the program, don`t know if rest of
program works properly with the hack applied).







diff --git a/dlls/user32/menu.c b/dlls/user32/menu.c
index 59fcd9c..d391c05 100644
--- a/dlls/user32/menu.c
+++ b/dlls/user32/menu.c
@@ -4342,8 +4342,8 @@ BOOL MENU_SetMenu( HWND hWnd, HMENU hMenu )
  *         SetMenu    (USER32.@)
  */
 BOOL WINAPI SetMenu( HWND hWnd, HMENU hMenu )
-{   
-    if(!MENU_SetMenu(hWnd, hMenu))
+{    
+    if(!hWnd || !MENU_SetMenu(hWnd, hMenu))
         return FALSE;

     SetWindowPos( hWnd, 0, 0, 0, 0, 0, SWP_NOSIZE | SWP_NOMOVE |

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list