Skip to content

Commit c3606b9

Browse files
committed
pcon: fix pcon support setting recall
The Psuedo Console support experimental option was not being recalled correctly on subsequent installs. If the option was unset it would default to unchecked (correct), but if the option was set to 'disabled' then it would become default checked! Signed-off-by: Matthew John Cheetham <[email protected]>
1 parent 84fb081 commit c3606b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

installer/install.iss

+1-1
Original file line numberDiff line numberDiff line change
@@ -2143,7 +2143,7 @@ begin
21432143
RdbExperimentalOptions[GP_EnablePCon]:=CreateCheckBox(ExperimentalOptionsPage,'Enable experimental support for pseudo consoles.','<RED>(NEW!)</RED> This allows running native console programs like Node or Python in a'+#13+'Git Bash window without using winpty, but it still has known bugs.',TabOrder,Top,Left);
21442144
21452145
// Restore the settings chosen during a previous install
2146-
RdbExperimentalOptions[GP_EnablePCon].Checked:=ReplayChoice('Enable Pseudo Console Support','Auto')='Disabled';
2146+
RdbExperimentalOptions[GP_EnablePCon].Checked:=ReplayChoice('Enable Pseudo Console Support','Auto')='Enabled';
21472147
#endif
21482148
21492149
#endif

0 commit comments

Comments
 (0)