projects
/
apps
/
osp
/
Gallery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed multiple messageBox problem
[apps/osp/Gallery.git]
/
src
/
GlAlbumNameEditorForm.cpp
diff --git
a/src/GlAlbumNameEditorForm.cpp
b/src/GlAlbumNameEditorForm.cpp
index
1b59781
..
a2e945e
100644
(file)
--- a/
src/GlAlbumNameEditorForm.cpp
+++ b/
src/GlAlbumNameEditorForm.cpp
@@
-240,7
+240,11
@@
AlbumNameEditorForm::OnTextValueChanged(const Control& source)
}
AppLogDebug("result of byte count is %s",GetErrorMessage(r));
checkByteCount = checkByteCount + byteCount;
}
AppLogDebug("result of byte count is %s",GetErrorMessage(r));
checkByteCount = checkByteCount + byteCount;
- lengthOfFinalString++;
+
+ if( checkByteCount < tempLength)
+ {
+ lengthOfFinalString++;
+ }
}
r = __pNameEditField->GetText().SubString(0, lengthOfFinalString, currentInput);
}
r = __pNameEditField->GetText().SubString(0, lengthOfFinalString, currentInput);