forked from mirrors/0ad
4ef2bb77f2
this commit fix and error in HWDetect when the libraries versions use only MAJOR.MINOR like zlib in some linux os that is "1.3" that need char[4] (1.3\0) conversion from Script::ToJSVal. this commit create an overload template that matches "references to array of uknown bound" and forward it to existing const char* / const wchar_t* specializations. this bug was reported by Vantha.