We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2b3694c + 12c557a commit c36ac5fCopy full SHA for c36ac5f
aztec/src/main/kotlin/org/wordpress/aztec/History.kt
@@ -61,7 +61,7 @@ class History(val historyEnabled: Boolean, val historySize: Int) {
61
return
62
}
63
64
- while (historyCursor != historyList.size && historyCursor >= 0) {
+ while (historyCursor in 0 until historyList.size) {
65
historyList.removeAt(historyCursor)
66
67
0 commit comments