Commit 931ab6f 1 parent 98b3cf9 commit 931ab6f Copy full SHA for 931ab6f
File tree 1 file changed +12
-8
lines changed
1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -241,14 +241,16 @@ class Password
241
241
{
242
242
selection += 6 ;
243
243
error = false ;
244
+ write_line (selection);
244
245
245
- if (selection > keyboard.size () - 1 )
246
+ if (selection >= keyboard.size () - 1 )
246
247
{
247
- if (selection < 30 )
248
- selection = 26 ;
249
- else
248
+ if (selection > 29 )
250
249
selection = 0 + (selection - 30 );
251
-
250
+ else if (selection > 26 )
251
+ selection = 27 ;
252
+ else
253
+ selection = 26 ;
252
254
}
253
255
}
254
256
@@ -257,12 +259,14 @@ class Password
257
259
selection -= 6 ;
258
260
error = false ;
259
261
260
- if (selection < 0 )
262
+ if (selection <= 0 )
261
263
{
262
- if (selection < -2 )
264
+ if (selection < -4 )
263
265
selection = selection + 30 ;
264
- else
266
+ else if (selection < - 3 )
265
267
selection = 26 ;
268
+ else
269
+ selection = 27 ;
266
270
}
267
271
}
268
272
You can’t perform that action at this time.
0 commit comments