Mercurial > dwindows
diff win/dw.c @ 2083:f1acc157b2dd
Win: Correctly show "IE" as HTML renderer if built with Edge support...
but a supported version of Edge cannot be detected.
Also bump the size of the fields in the DWEnv struct to be 65
characters in line with the size of Linux utsname fields so gcc
fortify won't complain about possible truncation during strncpy().
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sun, 31 May 2020 15:15:34 +0000 |
parents | 24875681eec5 |
children | 94ea915bd917 |
line wrap: on
line diff
--- a/win/dw.c Sun May 31 05:26:02 2020 +0000 +++ b/win/dw.c Sun May 31 15:15:34 2020 +0000 @@ -12423,7 +12423,7 @@ strcpy(env->buildTime, __TIME__); #if (defined(BUILD_DLL) || defined(BUILD_HTML)) # ifdef BUILD_EDGE - strcpy(env->htmlEngine, "EDGE"); + strcpy(env->htmlEngine, _DW_EDGE_DETECTED ? "EDGE" : "IE"); # else strcpy(env->htmlEngine, "IE"); # endif