diff --git a/mailnews/addrbook/src/nsAbOutlookDirectory.cpp b/mailnews/addrbook/src/nsAbOutlookDirectory.cpp index cde1e7f91cf..38c81217570 100644 --- a/mailnews/addrbook/src/nsAbOutlookDirectory.cpp +++ b/mailnews/addrbook/src/nsAbOutlookDirectory.cpp @@ -200,7 +200,10 @@ NS_IMETHODIMP nsAbOutlookDirectory::Init(const char *aUri) return NS_ERROR_FAILURE; } - prefix.AssignLiteral(mAbWinType == nsAbWinType_Outlook ? "OP " : "OE "); + if (mAbWinType == nsAbWinType_Outlook) + prefix.AssignLiteral("OP "); + else + prefix.AssignLiteral("OE "); prefix.Append(unichars); SetDirName(prefix.get());