Diff for /np2/win9x/fontmng.cpp between versions 1.8 and 1.9

version 1.8, 2006/12/23 23:34:32 version 1.9, 2006/12/24 00:52:29
Line 1 Line 1
 #include        "compiler.h"  #include        "compiler.h"
 #ifndef __GNUC__  
 #include        <snanls.h>  
 #endif  
 #include        "fontmng.h"  #include        "fontmng.h"
   
   
Line 114  void *fontmng_create(int size, UINT type Line 111  void *fontmng_create(int size, UINT type
         pitch = (type & FDAT_PROPORTIONAL)?VARIABLE_PITCH:FIXED_PITCH;          pitch = (type & FDAT_PROPORTIONAL)?VARIABLE_PITCH:FIXED_PITCH;
         if (fontface == NULL) {          if (fontface == NULL) {
                 deffontnum = (type & FDAT_PROPORTIONAL)?1:0;                  deffontnum = (type & FDAT_PROPORTIONAL)?1:0;
 #ifndef __GNUC__                  if (GetOEMCP() != 932) {                        // !Japanese
                 if (GetOEMCP() != CP_932)  
 #else  
                 if (GetOEMCP() != 932)  
 #endif  
                 {  
                         deffontnum += 2;                          deffontnum += 2;
                 }                  }
                 fontface = deffont[deffontnum];                  fontface = deffont[deffontnum];

Removed from v.1.8  
changed lines
  Added in v.1.9


RetroPC.NET-CVS <cvs@retropc.net>