mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-23 20:59:58 +00:00
Merge remote-tracking branch 'origin/patch'
This commit is contained in:
commit
2a50ed019d
@ -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