diff options
Diffstat (limited to 'src/common/sysinfo.c')
-rw-r--r-- | src/common/sysinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/sysinfo.c b/src/common/sysinfo.c index 605256100..ee8ff504a 100644 --- a/src/common/sysinfo.c +++ b/src/common/sysinfo.c @@ -594,7 +594,7 @@ void sysinfo_osversion_retrieve(void) { // Include service pack (if any) and build number. - if (strlen(osvi.szCSDVersion) > 0) { + if (osvi.szCSDVersion[0] != '\0') { StrBuf->Printf(&buf, " %s", osvi.szCSDVersion); } |