mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 10:07:38 -04:00
Use ROCKBOX_DIR in legal notices file paths
These paths were hardcoded to /.rockbox/ and could cause issues with ports not using that path. Change-Id: I1aef65d21d47b7f49f06c304a4dc9d30471d3ae2
This commit is contained in:
parent
648675dd0c
commit
893828b488
1 changed files with 2 additions and 2 deletions
|
@ -123,9 +123,9 @@ static int show_credits(void)
|
|||
|
||||
static int show_legal(void)
|
||||
{
|
||||
if (plugin_load(VIEWERS_DIR "/text_viewer.rock", "/.rockbox/docs/COPYING.txt") != PLUGIN_OK)
|
||||
if (plugin_load(VIEWERS_DIR "/text_viewer.rock", ROCKBOX_DIR "/docs/COPYING.txt") != PLUGIN_OK)
|
||||
show_info();
|
||||
if (plugin_load(VIEWERS_DIR "/text_viewer.rock", "/.rockbox/docs/LICENSES.txt") != PLUGIN_OK)
|
||||
if (plugin_load(VIEWERS_DIR "/text_viewer.rock", ROCKBOX_DIR "/docs/LICENSES.txt") != PLUGIN_OK)
|
||||
show_info();
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue