From ab71797564edda976ed31275b8e65e8975f06860 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Wed, 8 Aug 2007 01:17:38 +0000 Subject: Don't assume Steam InstallPath ends in a \ Subversion-branch: /trunk/chocolate-doom Subversion-revision: 947 --- src/d_iwad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/d_iwad.c b/src/d_iwad.c index 3d8aa0d1..4568c952 100644 --- a/src/d_iwad.c +++ b/src/d_iwad.c @@ -290,7 +290,7 @@ static void CheckSteamEdition(void) subpath = malloc(strlen(install_path) + strlen(steam_install_subdirs[i]) + 5); - sprintf(subpath, "%s%s", install_path, steam_install_subdirs[i]); + sprintf(subpath, "%s\\%s", install_path, steam_install_subdirs[i]); if (M_FileExists(subpath)) { -- cgit v1.2.3