Skip to content

Commit

Permalink
[svrplus] Remove debug code that broke detection of the MSVC runtimes.
Browse files Browse the repository at this point in the history
This effectively broke svrplus.

Fixes GerbilSoft#312: Visual C++ dependencies not detected as installed with 1.8
Reported by @SCOTT0852.
  • Loading branch information
GerbilSoft committed Jul 19, 2021
1 parent 418c440 commit 4f32188
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/svrplus/svrplus.c
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,6 @@ static void InitDialog(HWND hDlg)
// Go through the various permutations.
#ifndef _WIN64
if (!g_is64bit) {
bHasMsvc32 = false;
// 32-bit system.
if (!bHasMsvc32) {
// 32-bit MSVCRT is missing.
Expand All @@ -667,9 +666,8 @@ static void InitDialog(HWND hDlg)
} else
#endif /* !_WIN64 */
{
bHasMsvc32 = false;
// 64-bit system.
const bool bHasMsvc64 = false;//CheckMsvc(true);
const bool bHasMsvc64 = CheckMsvc(true);
if (!bHasMsvc32 && !bHasMsvc64) {
// Both 32-bit and 64-bit MSVCRT are missing.
_sntprintf(line1, _countof(line1),
Expand Down

0 comments on commit 4f32188

Please sign in to comment.