Ignore:
Timestamp:
Nov 8, 1999, 2:44:41 PM (26 years ago)
Author:
sandervl
Message:

Dinput additions + PostThreadMessageA/W fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/winmenu.cpp

    r1612 r1629  
    1 /* $Id: winmenu.cpp,v 1.14 1999-11-05 12:54:11 sandervl Exp $ */
     1/* $Id: winmenu.cpp,v 1.15 1999-11-08 13:44:17 sandervl Exp $ */
    22
    33/*
     
    441441
    442442    rc = ODIN_GetMenuStringA(hMenu, idItem, astring, cchMax, fuFlags);
     443    if(rc)
     444    {
     445            dprintf(("USER32: GetMenuStringW %s\n", astring));
     446            AsciiToUnicode(astring, lpsz);
     447    }
     448    else    lpsz[0] = 0;
    443449    free(astring);
    444     if(rc)
    445     {
    446             dprintf(("USER32: OS2GetMenuStringW %s\n", astring));
    447                      AsciiToUnicode(astring, lpsz);
    448     }
    449     else    lpsz[0] = 0;
    450450
    451451    return(rc);
Note: See TracChangeset for help on using the changeset viewer.