From bd5e08e0a556f77a06dc59f807b4c497c3edf8d4 Mon Sep 17 00:00:00 2001 From: Zachary Spriggs Date: Tue, 13 Sep 2022 17:31:02 -0400 Subject: [PATCH] Fix errorlevel check Since errorlevel wasn't enclosed in percents, it wasn't catching the 64 bit choice. Added percents around it and now it is allowing a 64 bit choice. --- setup_win.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup_win.bat b/setup_win.bat index bfceebb03..cb31d5d2c 100644 --- a/setup_win.bat +++ b/setup_win.bat @@ -15,7 +15,7 @@ goto downloadfinished :download64choice choice /C 12 /M "Do you prefer to download 1)32-bit QB64-PE or 2)64-bit QB64-PE" -if errorlevel == 1 goto download32 +if %errorlevel% == 1 goto download32 set MINGW=mingw64.exe :downloadfinished