Mercurial > dwindows
diff os2/dw.c @ 15:81833f25b1aa
Added new Dynamic Windows build information to the DWEnv struct.
It reports version numbers and build time/date.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 12 Jul 2001 20:31:26 +0000 |
parents | 176cee043f1b |
children | ca7a8215487a |
line wrap: on
line diff
--- a/os2/dw.c Wed Jul 11 21:57:56 2001 +0000 +++ b/os2/dw.c Thu Jul 12 20:31:26 2001 +0000 @@ -1386,7 +1386,7 @@ WinQueryClassName(tmp->window, 99, classbuf); - if(id && strncmp(classbuf, "#6", 2)==0) + if(id && strncmp(classbuf, "#2", 2)==0) { char *buf2; @@ -5424,6 +5424,11 @@ else if (i == 10) env->MinorVersion = 1; } + strcpy(env->buildDate, __DATE__); + strcpy(env->buildTime, __TIME__); + env->DWMajorVersion = DW_MAJOR_VERSION; + env->DWMinorVersion = DW_MINOR_VERSION; + env->DWSubVersion = DW_SUB_VERSION; } /*