From e94ff46d6ff53fdeb53a6a6d0fae31dfdd1b719f Mon Sep 17 00:00:00 2001 From: weidai Date: Sat, 9 Dec 2006 17:12:14 +0000 Subject: [PATCH] fix terminator param being ignored --- hex.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hex.h b/hex.h index 33e33301..006914c5 100644 --- a/hex.h +++ b/hex.h @@ -12,7 +12,7 @@ public: HexEncoder(BufferedTransformation *attachment = NULL, bool uppercase = true, int outputGroupSize = 0, const std::string &separator = ":", const std::string &terminator = "") : SimpleProxyFilter(new BaseN_Encoder(new Grouper), attachment) { - IsolatedInitialize(MakeParameters(Name::Uppercase(), uppercase)(Name::GroupSize(), outputGroupSize)(Name::Separator(), ConstByteArrayParameter(separator))); + IsolatedInitialize(MakeParameters(Name::Uppercase(), uppercase)(Name::GroupSize(), outputGroupSize)(Name::Separator(), ConstByteArrayParameter(separator))(Name::Terminator(), ConstByteArrayParameter(terminator))); } void IsolatedInitialize(const NameValuePairs ¶meters);