Skip to content

Commit

Permalink
Bug 460766 dot between day and month, or month and year in ddMMyy Format
Browse files Browse the repository at this point in the history
can be removed, corrupting the input field

Change-Id: Ib793ce3899478fb82e5e24c0ae3cdb566bba1726
Signed-off-by: Markus Bohr <markus.bohr@der.de>
  • Loading branch information
Markus Bohr authored and wimjongman committed Mar 11, 2015
1 parent 1599290 commit c7e6c5e
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -375,7 +375,8 @@ private void clear(int b, int e) {
continue;
}
field = getField(i, from);
while ( i < e && field.curLen > 0 ) {
final int numCharsLeftOfRangeToClear= i-field.pos;
while ( i < e && field.curLen - numCharsLeftOfRangeToClear > 0 ) {
inputCache.deleteCharAt(i);
inputMask.deleteCharAt(i);
e--;
Expand Down

0 comments on commit c7e6c5e

Please sign in to comment.