mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-24 13:11:47 +00:00
GP-0 Corrected ip.gradle bug
This commit is contained in:
parent
d201b939d2
commit
e1a9465f8c
@ -233,7 +233,7 @@ def getIpForSourceFile(File file, String prefix) {
|
||||
file.withReader { reader ->
|
||||
while(++lineNum < 5 && (line = reader.readLine()) != null) {
|
||||
if (line.startsWith(prefix)) {
|
||||
ip = line.substring(7).trim();
|
||||
ip = line.substring(prefix.length()).trim();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user