[iortcw] 403/497: All: Fix compiling on Windows without Steam path/appid

2017-09-08 Thread Simon McVittie
This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to annotated tag 1.42d
in repository iortcw.

commit 8922e3b9254c47e97a76233457fd0cbbc9945a8d
Author: MAN-AT-ARMS 
Date:   Sun Sep 27 14:41:56 2015 -0400

All: Fix compiling on Windows without Steam path/appid
---
 MP/code/sys/sys_win32.c | 2 +-
 SP/code/sys/sys_win32.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/MP/code/sys/sys_win32.c b/MP/code/sys/sys_win32.c
index 1ae7b10..2e23bc5 100644
--- a/MP/code/sys/sys_win32.c
+++ b/MP/code/sys/sys_win32.c
@@ -144,7 +144,6 @@ char *Sys_SteamPath( void )
HKEY steamRegKey;
DWORD pathLen = MAX_OSPATH;
qboolean finishPath = qfalse;
-#endif
 
 #ifdef STEAMPATH_APPID
if (!steamPath[0] && !RegOpenKeyEx(HKEY_LOCAL_MACHINE, 
"SOFTWARE\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Steam 
App " STEAMPATH_APPID, 0, KEY_QUERY_VALUE, &steamRegKey))
@@ -185,6 +184,7 @@ char *Sys_SteamPath( void )
if (finishPath)
Q_strcat(steamPath, MAX_OSPATH, "\\SteamApps\\common\\" 
STEAMPATH_NAME );
}
+#endif
 
return steamPath;
 }
diff --git a/SP/code/sys/sys_win32.c b/SP/code/sys/sys_win32.c
index a303247..6fa2994 100644
--- a/SP/code/sys/sys_win32.c
+++ b/SP/code/sys/sys_win32.c
@@ -144,7 +144,6 @@ char *Sys_SteamPath( void )
HKEY steamRegKey;
DWORD pathLen = MAX_OSPATH;
qboolean finishPath = qfalse;
-#endif
 
 #ifdef STEAMPATH_APPID
if (!steamPath[0] && !RegOpenKeyEx(HKEY_LOCAL_MACHINE, 
"SOFTWARE\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Steam 
App " STEAMPATH_APPID, 0, KEY_QUERY_VALUE, &steamRegKey))
@@ -185,6 +184,7 @@ char *Sys_SteamPath( void )
if (finishPath)
Q_strcat(steamPath, MAX_OSPATH, "\\SteamApps\\common\\" 
STEAMPATH_NAME );
}
+#endif
 
return steamPath;
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-games/iortcw.git

___
Pkg-games-commits mailing list
Pkg-games-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits


[iortcw] 403/497: All: Fix compiling on Windows without Steam path/appid

2016-09-21 Thread Simon McVittie
This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to annotated tag 1.42d
in repository iortcw.

commit 8922e3b9254c47e97a76233457fd0cbbc9945a8d
Author: MAN-AT-ARMS 
Date:   Sun Sep 27 14:41:56 2015 -0400

All: Fix compiling on Windows without Steam path/appid
---
 MP/code/sys/sys_win32.c | 2 +-
 SP/code/sys/sys_win32.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/MP/code/sys/sys_win32.c b/MP/code/sys/sys_win32.c
index 1ae7b10..2e23bc5 100644
--- a/MP/code/sys/sys_win32.c
+++ b/MP/code/sys/sys_win32.c
@@ -144,7 +144,6 @@ char *Sys_SteamPath( void )
HKEY steamRegKey;
DWORD pathLen = MAX_OSPATH;
qboolean finishPath = qfalse;
-#endif
 
 #ifdef STEAMPATH_APPID
if (!steamPath[0] && !RegOpenKeyEx(HKEY_LOCAL_MACHINE, 
"SOFTWARE\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Steam 
App " STEAMPATH_APPID, 0, KEY_QUERY_VALUE, &steamRegKey))
@@ -185,6 +184,7 @@ char *Sys_SteamPath( void )
if (finishPath)
Q_strcat(steamPath, MAX_OSPATH, "\\SteamApps\\common\\" 
STEAMPATH_NAME );
}
+#endif
 
return steamPath;
 }
diff --git a/SP/code/sys/sys_win32.c b/SP/code/sys/sys_win32.c
index a303247..6fa2994 100644
--- a/SP/code/sys/sys_win32.c
+++ b/SP/code/sys/sys_win32.c
@@ -144,7 +144,6 @@ char *Sys_SteamPath( void )
HKEY steamRegKey;
DWORD pathLen = MAX_OSPATH;
qboolean finishPath = qfalse;
-#endif
 
 #ifdef STEAMPATH_APPID
if (!steamPath[0] && !RegOpenKeyEx(HKEY_LOCAL_MACHINE, 
"SOFTWARE\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Steam 
App " STEAMPATH_APPID, 0, KEY_QUERY_VALUE, &steamRegKey))
@@ -185,6 +184,7 @@ char *Sys_SteamPath( void )
if (finishPath)
Q_strcat(steamPath, MAX_OSPATH, "\\SteamApps\\common\\" 
STEAMPATH_NAME );
}
+#endif
 
return steamPath;
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-games/iortcw.git

___
Pkg-games-commits mailing list
Pkg-games-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits