Changeset 7342 for trunk/src/user32


Ignore:
Timestamp:
Nov 14, 2001, 7:39:52 PM (24 years ago)
Author:
sandervl
Message:

removed unnecessary changes

Location:
trunk/src/user32
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/mdi.c

    r7337 r7342  
    15211521        case WM_SETTEXT:
    15221522            {
    1523 #ifdef __WIN32OS2__
    1524                 LPWSTR text;
    1525                 STACK_strdupAtoW( (LPSTR)lParam, text)
    1526                 MDI_UpdateFrameText(hwnd, hwndMDIClient, MDI_REPAINTFRAME, text );
    1527 #else
    15281523                LPWSTR text = HEAP_strdupAtoW( GetProcessHeap(), 0, (LPSTR)lParam );
    15291524                MDI_UpdateFrameText(hwnd, hwndMDIClient, MDI_REPAINTFRAME, text );
    15301525                HeapFree( GetProcessHeap(), 0, text );
    1531 #endif
    15321526            }
    15331527            return 1; /* success. FIXME: check text length */
  • trunk/src/user32/msgbox.c

    r7337 r7342  
    1 /* $Id: msgbox.c,v 1.5 2001-11-14 12:57:28 phaller Exp $ */
     1/* $Id: msgbox.c,v 1.6 2001-11-14 18:33:03 sandervl Exp $ */
    22/*
    33 * Message boxes (based on Wine code)
     
    298298                            UINT type )
    299299{
    300     INT ret;
    301  
    302 #ifdef __WIN32OS2__
    303     LPSTR titleA;
    304     LPSTR textA;
    305     STACK_strdupWtoA(title, titleA)
    306     STACK_strdupWtoA(text, textA)
    307 #else
    308300    LPSTR titleA = HEAP_strdupWtoA( GetProcessHeap(), 0, title );
    309301    LPSTR textA  = HEAP_strdupWtoA( GetProcessHeap(), 0, text );
    310 #endif
     302    INT ret;
    311303
    312304    ret = MessageBoxA( hwnd, textA, titleA, type );
    313 
    314 #ifndef __WIN32OS2__
    315305    HeapFree( GetProcessHeap(), 0, titleA );
    316306    HeapFree( GetProcessHeap(), 0, textA );
    317 #endif
    318307    return ret;
    319308}
Note: See TracChangeset for help on using the changeset viewer.