aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/text.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/text.cpp b/src/text.cpp
index 5995daf1..e0a6e1de 100644
--- a/src/text.cpp
+++ b/src/text.cpp
@@ -537,7 +537,7 @@ void text::encodeAndFold(utility::outputStream& os, const string::size_type maxL
encoder* theEncoder;
- if (encoding == 'B') theEncoder == new encoderB64;
+ if (encoding == 'B') theEncoder = new encoderB64;
else theEncoder = new encoderQP;
string qpEncodedBuffer;