comparison os2/dw.c @ 1592:1795bd78207d

Tab fixed for that last commit.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 14 Feb 2012 00:33:49 +0000
parents c5e210e04dce
children 50856987e794
comparison
equal deleted inserted replaced
1591:c5e210e04dce 1592:1795bd78207d
3995 rc = WinRegisterClass(dwhab, (PSZ)CalendarClassName, _calendarproc, 0L, 32); 3995 rc = WinRegisterClass(dwhab, (PSZ)CalendarClassName, _calendarproc, 0L, 32);
3996 3996
3997 /* Fill in the the calendar fields */ 3997 /* Fill in the the calendar fields */
3998 for(x=0;x<7;x++) 3998 for(x=0;x<7;x++)
3999 { 3999 {
4000 thistm.tm_wday = x; 4000 thistm.tm_wday = x;
4001 strftime(daysofweek[x], 19, "%A", &thistm); 4001 strftime(daysofweek[x], 19, "%A", &thistm);
4002 } 4002 }
4003 for(x=0;x<12;x++) 4003 for(x=0;x<12;x++)
4004 { 4004 {
4005 thistm.tm_mon = x; 4005 thistm.tm_mon = x;
4006 strftime(months[x], 19, "%B", &thistm); 4006 strftime(months[x], 19, "%B", &thistm);
4007 } 4007 }
4008 4008
4009 /* Get the OS/2 version. */ 4009 /* Get the OS/2 version. */
4010 DosQuerySysInfo(QSV_VERSION_MAJOR, QSV_MS_COUNT,(void *)aulBuffer, 4*sizeof(ULONG)); 4010 DosQuerySysInfo(QSV_VERSION_MAJOR, QSV_MS_COUNT,(void *)aulBuffer, 4*sizeof(ULONG));