From 194454f2fbd35adb1e15f2786f56d1224c464892 Mon Sep 17 00:00:00 2001 From: Himanshu Date: Wed, 31 Jul 2013 14:14:53 +0530 Subject: [PATCH] Fixed issue 47790 Change-Id: I83fa4d6bc3b7aa2c5f53737c887705cb9eb189e6 Signed-off-by: Himanshu --- src/GlAlbumNameEditorForm.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/GlAlbumNameEditorForm.cpp b/src/GlAlbumNameEditorForm.cpp index 0a2716d..a6bb664 100644 --- a/src/GlAlbumNameEditorForm.cpp +++ b/src/GlAlbumNameEditorForm.cpp @@ -218,7 +218,9 @@ AlbumNameEditorForm::OnTextValueChanged(const Control& source) } } - inputLength = byteCount; + byteCountForInput = __pNameEditField->GetText(); + r = utf8.GetByteCount(byteCountForInput, inputLength); + if (inputLength >= tempLength) { String maxCharacterString; -- 2.7.4