summaryrefslogtreecommitdiffstats
path: root/mailnews/compose/src/nsSmtpUrl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mailnews/compose/src/nsSmtpUrl.cpp')
-rw-r--r--mailnews/compose/src/nsSmtpUrl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mailnews/compose/src/nsSmtpUrl.cpp b/mailnews/compose/src/nsSmtpUrl.cpp
index 29678397c..6d130449f 100644
--- a/mailnews/compose/src/nsSmtpUrl.cpp
+++ b/mailnews/compose/src/nsSmtpUrl.cpp
@@ -95,7 +95,7 @@ nsresult nsMailtoUrl::ParseMailtoUrl(char * searchPart)
nsCString decodedName;
MsgUnescapeString(nsDependentCString(token), 0, decodedName);
- if (decodedName.Length() == 0)
+ if (decodedName.IsEmpty())
break;
switch (NS_ToUpper(decodedName.First()))