Ignore:
Timestamp:
Aug 4, 2003, 7:01:58 PM (22 years ago)
Author:
sandervl
Message:

KOM: another bugfix

File:
1 edited

Legend:

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

    r10203 r10204  
    1 /* $Id: windowmsg.cpp,v 1.45 2003-08-04 13:38:39 sandervl Exp $ */
     1/* $Id: windowmsg.cpp,v 1.46 2003-08-04 17:01:58 sandervl Exp $ */
    22/*
    33 * Win32 window message APIs for OS/2
     
    561561    case EM_GETLINE:
    562562        { LPARAM * ptr = (LPARAM *)lParam - 1;  /* get the old lParam */
     563#ifdef __WIN32OS2__
     564          WORD len = *(WORD *) ptr;
     565#else
    563566          WORD len = *(WORD *) lParam;
     567#endif
    564568          lstrcpynWtoA( (LPSTR)*ptr , (LPWSTR)lParam, len );
    565569          HeapFree( GetProcessHeap(), 0, ptr );
Note: See TracChangeset for help on using the changeset viewer.