summaryrefslogtreecommitdiff
path: root/plugins/CrashDumper/src/utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CrashDumper/src/utils.cpp')
-rw-r--r--plugins/CrashDumper/src/utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CrashDumper/src/utils.cpp b/plugins/CrashDumper/src/utils.cpp
index d6c4c8816c..c60ea9a5e1 100644
--- a/plugins/CrashDumper/src/utils.cpp
+++ b/plugins/CrashDumper/src/utils.cpp
@@ -207,7 +207,7 @@ void GetOSDisplayString(bkstring& buffer)
}
}
- if (_tcslen(osvi.szCSDVersion) > 0) {
+ if (osvi.szCSDVersion[0] != 0) {
buffer.append(TEXT(" "));
buffer.append(osvi.szCSDVersion);
}