Skip to content

Commit aa9fb5f

Browse files
committed
PDFBOX-2941: fix bug that resulted in IndexOutOfBoundsException when pressing F3 after entering a non existing string where the first character existed
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1930543 13f79535-47bb-0310-9956-ffa450edef68
1 parent 022c23b commit aa9fb5f

File tree

1 file changed

+1
-0
lines changed
  • debugger/src/main/java/org/apache/pdfbox/debugger/ui/textsearcher

1 file changed

+1
-0
lines changed

debugger/src/main/java/org/apache/pdfbox/debugger/ui/textsearcher/Searcher.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ private void search(String word)
164164
else
165165
{
166166
searchPanel.updateCounterLabel(0, 0);
167+
totalMatch = 0;
167168
}
168169
}
169170

0 commit comments

Comments
 (0)