summaryrefslogtreecommitdiffstats
path: root/mimelib/dwstring.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mimelib/dwstring.cpp')
-rw-r--r--mimelib/dwstring.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mimelib/dwstring.cpp b/mimelib/dwstring.cpp
index cd3c7b1ab..749f7c8ee 100644
--- a/mimelib/dwstring.cpp
+++ b/mimelib/dwstring.cpp
@@ -399,7 +399,7 @@ DwString::DwString(const char* aCstr)
mStart = 0;
mLength = 0;
if ( aCstr ) {
- size_t len = (aCstr) ? strlen(aCstr) : 0;
+ size_t len = strlen(aCstr);
_replace(0, mLength, aCstr, len);
}
}