foxygit / doom Log in
commit ab71797564edda976ed31275b8e65e8975f06860
Author:     Simon Howard <fraggle@gmail.com>
AuthorDate: Wed Aug 8 01:17:38 2007 +0000
Commit:     Simon Howard <fraggle@gmail.com>
CommitDate: Wed Aug 8 01:17:38 2007 +0000

    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))
         {