From: Himanshu Date: Wed, 31 Jul 2013 08:44:53 +0000 (+0530) Subject: Fixed issue 47790 X-Git-Tag: 2.2_release~8 X-Git-Url: http://review.tizen.org/git/?p=apps%2Fosp%2FGallery.git;a=commitdiff_plain;h=194454f2fbd35adb1e15f2786f56d1224c464892 Fixed issue 47790 Change-Id: I83fa4d6bc3b7aa2c5f53737c887705cb9eb189e6 Signed-off-by: Himanshu --- 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;