mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-23 20:59:58 +00:00
GP-2164 - Updated incorrect tool status message when pasting bytes
This commit is contained in:
parent
8c455044f5
commit
50320cfde7
@ -415,7 +415,7 @@ public abstract class ByteCopier {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Ask the user before pasting a string into the program. Since having a string in
|
||||
// Ask the user before pasting a string into the program. Since having a string in
|
||||
// the clipboard is so common, this is to prevent an accidental paste.
|
||||
if (!confirmPaste(validString)) {
|
||||
return true; // the user cancelled; the command is successful
|
||||
@ -447,7 +447,7 @@ public abstract class ByteCopier {
|
||||
}
|
||||
address = address.next();
|
||||
}
|
||||
return foundError;
|
||||
return !foundError;
|
||||
}
|
||||
|
||||
private boolean confirmPaste(String validString) {
|
||||
|
Loading…
Reference in New Issue
Block a user