mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 19:42:36 +02:00
Fix for help building on Windows
This commit is contained in:
parent
9108198ba7
commit
29fe2d8b17
1 changed files with 5 additions and 0 deletions
|
@ -178,6 +178,11 @@ public class LinkDatabase {
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getIDForLink(String target) {
|
public String getIDForLink(String target) {
|
||||||
|
|
||||||
|
if (target.startsWith(JavaHelpValidator.EXTERNAL_PREFIX)) {
|
||||||
|
return null; // the validator handles this later
|
||||||
|
}
|
||||||
|
|
||||||
Path path = Paths.get(target);
|
Path path = Paths.get(target);
|
||||||
Path file = Paths.get(target.split("#")[0]);
|
Path file = Paths.get(target.split("#")[0]);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue