Fixed the exception comment.
authorHokwon Song <hokwon.song@samsung.com>
Mon, 20 May 2013 05:00:57 +0000 (14:00 +0900)
committerHokwon Song <hokwon.song@samsung.com>
Mon, 20 May 2013 05:00:57 +0000 (14:00 +0900)
Change-Id: I0f6339157b95f58aa632f1499d5bd92d0916f5b6
Signed-off-by: Hokwon Song <hokwon.song@samsung.com>
src/text/FText_EncodingImpl.cpp

index 5c2e16f..8a4c95e 100644 (file)
@@ -132,7 +132,7 @@ _EncodingImpl::Encode(const wchar_t* pSrc, int srcLength, ByteBuffer*& pByteBuff
 
        std::unique_ptr<byte[]> pDst(__pEncodingCore->EncodeN(pSrc, srcLength, retLength));
        r = GetLastResult();
-       SysTryReturnResult(NID_TEXT, (pDst != null), r, "[%s] Decoding failed", GetErrorMessage(r));
+       SysTryReturnResult(NID_TEXT, (pDst != null), r, "[%s] Encoding failed", GetErrorMessage(r));
 
        ByteBuffer* pOutBuffer = pByteBuffer;
        if (retLength > 0)