Skip to content

Commit

Permalink
Merge pull request #311 from jcgruenhage/master
Browse files Browse the repository at this point in the history
Fixed leading zeroes issue in HMS Picker
  • Loading branch information
fchauveau authored Aug 23, 2016
2 parents 35f0c59 + cba2326 commit 044876c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ protected void updateHms() {
}

private void addClickedNumber(int val) {
if (mInputPointer < mInputSize - 1) {
if (mInputPointer < mInputSize - 1 && !(mInputPointer == -1 && val == 0)) {
for (int i = mInputPointer; i >= 0; i--) {
mInput[i + 1] = mInput[i];
}
Expand Down

0 comments on commit 044876c

Please sign in to comment.