Changeset 4467 for trunk/src


Ignore:
Timestamp:
Oct 9, 2000, 7:47:22 PM (25 years ago)
Author:
sandervl
Message:

compilation fix + IsValidLocale fix

Location:
trunk/src/kernel32
Files:
2 edited

Legend:

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

    r4461 r4467  
    1 /* $Id: conbuffer.cpp,v 1.11 2000-10-09 02:22:57 phaller Exp $ */
     1/* $Id: conbuffer.cpp,v 1.12 2000-10-09 17:47:21 sandervl Exp $ */
    22
    33/*
     
    26242624
    26252625                                /* calculate pointer to start of screen line */
    2626     pszTarget = pConsoleBuffer->ppszLine[ulWriteY] + psrctDestRect->Left << 1;
     2626    pszTarget = pConsoleBuffer->ppszLine[ulWriteY] + ((int)psrctDestRect->Left << 1);
    26272627
    26282628    for (ulX = 0,
     
    27302730
    27312731                                /* calculate pointer to start of screen line */
    2732     pszTarget = pConsoleBuffer->ppszLine[ulWriteY] + psrctDestRect->Left << 1;
     2732    pszTarget = pConsoleBuffer->ppszLine[ulWriteY] + ((int)psrctDestRect->Left << 1);
    27332733
    27342734    for (ulX = 0,
  • trunk/src/kernel32/ole2nls.cpp

    r4451 r4467  
    1 /* $Id: ole2nls.cpp,v 1.5 2000-10-08 14:01:01 sandervl Exp $ */
     1/* $Id: ole2nls.cpp,v 1.6 2000-10-09 17:47:22 sandervl Exp $ */
    22
    33/*
     
    698698BOOL WINAPI IsValidLocale(LCID lcid,DWORD flags)
    699699{
     700#ifdef __WIN32OS2__
     701    //SvL/MN: code below doesn't work -> winhlp32 complains about different language helpfiles
     702    dprintf(("KERNEL32: IsValidLocale, always returns TRUE\n"));
     703    return TRUE;
     704#else
    700705    /* check if language is registered in the kernel32 resources */
    701706    if(!FindResourceExW(GetModuleHandleA("KERNEL32"), RT_STRINGW, (LPCWSTR)LOCALE_ILANGUAGE, LOWORD(lcid)))
     
    703708    else
    704709        return TRUE;
     710#endif
    705711}
    706712
Note: See TracChangeset for help on using the changeset viewer.