Fix bug in move
This commit is contained in:
2
Facade.h
2
Facade.h
@@ -2,9 +2,9 @@
|
||||
|
||||
#include "VersionedMap.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
using String = std::basic_string<uint8_t>;
|
||||
|
||||
|
@@ -583,7 +583,8 @@ struct __attribute__((__visibility__("hidden"))) VersionedMap::Impl {
|
||||
finger.push(c, !direction);
|
||||
}
|
||||
} else {
|
||||
while (finger.searchPathSize() > 1 && finger.backDirection() == true) {
|
||||
while (finger.searchPathSize() > 1 &&
|
||||
finger.backDirection() == direction) {
|
||||
finger.pop();
|
||||
}
|
||||
finger.pop();
|
||||
|
Reference in New Issue
Block a user