comparison 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
comparison
equal deleted inserted replaced
2082:3144912829e2 2083:f1acc157b2dd
12421 12421
12422 strcpy(env->buildDate, __DATE__); 12422 strcpy(env->buildDate, __DATE__);
12423 strcpy(env->buildTime, __TIME__); 12423 strcpy(env->buildTime, __TIME__);
12424 #if (defined(BUILD_DLL) || defined(BUILD_HTML)) 12424 #if (defined(BUILD_DLL) || defined(BUILD_HTML))
12425 # ifdef BUILD_EDGE 12425 # ifdef BUILD_EDGE
12426 strcpy(env->htmlEngine, "EDGE"); 12426 strcpy(env->htmlEngine, _DW_EDGE_DETECTED ? "EDGE" : "IE");
12427 # else 12427 # else
12428 strcpy(env->htmlEngine, "IE"); 12428 strcpy(env->htmlEngine, "IE");
12429 # endif 12429 # endif
12430 #else 12430 #else
12431 strcpy(env->htmlEngine, "N/A"); 12431 strcpy(env->htmlEngine, "N/A");