From 0b306a456b7c91f8f49a7af010af0400d9f66488 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 6 May 2002 06:17:32 +0000 Subject: Dave Chapman removed the annoying extra slash git-svn-id: svn://svn.rockbox.org/rockbox/trunk@456 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/x11/io.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'uisimulator/x11/io.c') diff --git a/uisimulator/x11/io.c b/uisimulator/x11/io.c index 9551d101bb..974109a7fa 100644 --- a/uisimulator/x11/io.c +++ b/uisimulator/x11/io.c @@ -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); -- cgit v1.2.3