From 3b1ada9cb771e93ac4242e39d7b44d6aa84b48c8 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Tue, 14 Apr 2020 16:19:39 +0200 Subject: [PATCH] gui/SearchWindow.cpp: in onResult() should advance index by word length and not position. --- gui/SearchWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/SearchWindow.cpp b/gui/SearchWindow.cpp index ba3a757..9543467 100644 --- a/gui/SearchWindow.cpp +++ b/gui/SearchWindow.cpp @@ -114,7 +114,7 @@ void SearchWindow::onResult(const struct libeosio::ec_keypair* key, const struct if (i == pos) { out += "" + pub.mid(pos, len) + ""; - i += pos; + i += len; continue; }