Changeset 4983 for trunk/src


Ignore:
Timestamp:
Jan 20, 2001, 5:57:00 PM (25 years ago)
Author:
sandervl
Message:

YD: codepage fixes in GetDCEx

File:
1 edited

Legend:

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

    r4848 r4983  
    1 /* $Id: dc.cpp,v 1.81 2000-12-29 18:39:58 sandervl Exp $ */
     1/* $Id: dc.cpp,v 1.82 2001-01-20 16:57:00 sandervl Exp $ */
    22
    33/*
     
    3434#include "oslibmsg.h"
    3535#include <dcdata.h>
     36#include <codepage.h>
    3637
    3738#define INCLUDED_BY_DC
     
    947948                         &sizel, PU_PELS | GPIT_MICRO | GPIA_ASSOC );
    948949      psType = MICRO;
     950      // default cp is OS/2 one: set to windows default (ODIN.INI)
     951      GpiSetCp(hps, GetDisplayCodepage());
    949952   }
    950953   else
     
    982985        }
    983986        else    hps = WinGetPS (hWindow);
     987
     988        // default cp is OS/2 one: set to windows default (ODIN.INI)
     989        GpiSetCp(hps, GetDisplayCodepage());
    984990      }
    985991      psType = MICRO_CACHED;
Note: See TracChangeset for help on using the changeset viewer.