mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 20:55:17 -05:00
Dave Chapman removed the annoying extra slash
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@456 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ff2e651d29
commit
0b306a456b
1 changed files with 2 additions and 2 deletions
|
|
@ -8,7 +8,7 @@ DIR *x11_opendir(char *name)
|
|||
char buffer[256]; /* sufficiently big */
|
||||
|
||||
if(name[0] == '/') {
|
||||
sprintf(buffer, "%s/%s", SIMULATOR_ARCHOS_ROOT, name);
|
||||
sprintf(buffer, "%s%s", SIMULATOR_ARCHOS_ROOT, name);
|
||||
return opendir(buffer);
|
||||
}
|
||||
return opendir(name);
|
||||
|
|
@ -19,7 +19,7 @@ int x11_open(char *name, int opts)
|
|||
char buffer[256]; /* sufficiently big */
|
||||
|
||||
if(name[0] == '/') {
|
||||
sprintf(buffer, "%s/%s", SIMULATOR_ARCHOS_ROOT, name);
|
||||
sprintf(buffer, "%s%s", SIMULATOR_ARCHOS_ROOT, name);
|
||||
|
||||
Logf("We open the real file '%s'", buffer);
|
||||
return open(buffer, opts);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue