mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-18 19:06:10 +00:00
Improve warning for multiple x-refs causing unexpected behavior (#2236)
* Improve warning for multiple x-refs causing unexpected behavior
This commit is contained in:
parent
76773eadd6
commit
592c050617
@ -75,7 +75,8 @@ void CutterSeekable::seekToReference(RVA offset)
|
||||
|
||||
if (refs.length()) {
|
||||
if (refs.length() > 1) {
|
||||
qWarning() << "Too many references here. Weird behaviour expected.";
|
||||
qWarning() << tr("More than one (%1) references here. Weird behaviour expected.")
|
||||
.arg(refs.length());
|
||||
}
|
||||
|
||||
target = refs.at(0).to;
|
||||
|
Loading…
Reference in New Issue
Block a user