Ignore:
Timestamp:
Feb 7, 2002, 5:34:54 PM (24 years ago)
Author:
sandervl
Message:

codepage, getlocaleinfo + thread tib updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/lang.cpp

    r7251 r7832  
    1 /* $Id: lang.cpp,v 1.38 2001-10-28 17:15:33 sandervl Exp $ */
     1/* $Id: lang.cpp,v 1.39 2002-02-07 16:34:53 sandervl Exp $ */
    22/*
    33 * Win32 language API functions for OS/2
     
    182182  if (wbuf)
    183183  {
    184     if (*pLen > UniStrlen(lpUniStr))
    185       UniStrcpy(wbuf,lpUniStr);
     184    if (*pLen > lstrlenW(lpUniStr))
     185      lstrcpyW(wbuf,lpUniStr);
    186186    else
    187187    {
     
    192192  }
    193193
    194   *pLen=UniStrlen(lpUniStr)+1; // + null terminator
     194  *pLen=lstrlenW(lpUniStr)+1; // + null terminator
    195195
    196196  return TRUE;
    197197}
     198//replaced by Wine functions in ole2nls.c
     199#if 0
    198200//******************************************************************************
    199201//******************************************************************************
     
    894896  return (ret_len);
    895897}
     898#endif
    896899//******************************************************************************
    897900//******************************************************************************
Note: See TracChangeset for help on using the changeset viewer.