Improve warning for multiple x-refs causing unexpected behavior (#2236)

* Improve warning for multiple x-refs causing unexpected behavior
This commit is contained in:
Itay Cohen 2020-06-07 11:39:58 +03:00 committed by GitHub
parent 76773eadd6
commit 592c050617
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;