Amiga: fix port_help double-prefix path
display_file -> dlb_fopen -> fopen_datafile already prepends DATAPREFIX; wrapping PORT_HELP in fqname() too produced "NetHack:NetHack:amii.hlp".
This commit is contained in:
@@ -1966,7 +1966,9 @@ removetopl(int cnt)
|
|||||||
void
|
void
|
||||||
port_help(void)
|
port_help(void)
|
||||||
{
|
{
|
||||||
display_file(fqname(PORT_HELP, DATAPREFIX, 0), 1);
|
/* display_file -> dlb_fopen -> fopen_datafile already routes through
|
||||||
|
DATAPREFIX; pass the bare filename. */
|
||||||
|
display_file(PORT_HELP, 1);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user