Changeset 1419


Ignore:
Timestamp:
Oct 23, 1999, 7:29:30 PM (26 years ago)
Author:
cbratschi
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/src/comdlg32/comdlg32.cpp

    r1417 r1419  
    1 /* $Id: comdlg32.cpp,v 1.14 1999-10-23 16:43:50 cbratschi Exp $ */
     1/* $Id: comdlg32.cpp,v 1.15 1999-10-23 17:29:30 cbratschi Exp $ */
    22
    33/*
     
    272272      asciicf.lpTemplateName = UnicodeToAsciiString((LPWSTR)lpcf->lpTemplateName);
    273273
     274  //CB: NT's clock.exe traps here!
    274275  if (lpcf->lpszStyle)
    275276  {
    276     //CB: NT's clock.exe sets this pointer, don't know why
    277     //    it's not a pointer to a string!
    278     if ((UINT)lpcf->lpszStyle == 0xAAAAAAAA)
    279       asciicf.lpszStyle = NULL;
    280     else
    281     {
    282       UnicodeToAsciiN(lpcf->lpszStyle,
    283                       szAsciiStyle,
    284                       sizeof(szAsciiStyle));
    285 
    286       asciicf.lpszStyle = szAsciiStyle;
    287     }
    288   };
     277    UnicodeToAsciiN(lpcf->lpszStyle,
     278                    szAsciiStyle,
     279                    sizeof(szAsciiStyle));
     280
     281    asciicf.lpszStyle = szAsciiStyle;
     282  }
    289283
    290284  UnicodeToAsciiN(lpcf->lpLogFont->lfFaceName,
Note: See TracChangeset for help on using the changeset viewer.