texlive[44108] Master/tlpkg/installer/install-menu-text.pl:

commits+karl at tug.org commits+karl at tug.org
Sat Apr 29 01:01:01 CEST 2017


Revision: 44108
          http://tug.org/svn/texlive?view=revision&revision=44108
Author:   karl
Date:     2017-04-29 01:01:00 +0200 (Sat, 29 Apr 2017)
Log Message:
-----------
(obutton,toggle): use X instead of x in the
options text menu, for consistency. Is this
problematic for some reason? We'll see.

Modified Paths:
--------------
    trunk/Master/tlpkg/installer/install-menu-text.pl

Modified: trunk/Master/tlpkg/installer/install-menu-text.pl
===================================================================
--- trunk/Master/tlpkg/installer/install-menu-text.pl	2017-04-28 22:45:55 UTC (rev 44107)
+++ trunk/Master/tlpkg/installer/install-menu-text.pl	2017-04-28 23:01:00 UTC (rev 44108)
@@ -65,7 +65,7 @@
 sub obutton { # for options menu: more chars allowed
   my $val=shift;
   my $vals=shift; # array ref to descriptions of possible values
-  $vals = [' ', 'x'] unless defined $vals;
+  $vals = [' ', 'X'] unless defined $vals;
   return "[$$vals[$val]]";
 }
 
@@ -76,7 +76,7 @@
 sub toggle {
   my $var=shift;
   my $vals=shift; # array ref to descriptions of possible values
-  $vals = [' ', 'x'] unless defined $vals;
+  $vals = [' ', 'X'] unless defined $vals;
   my $n_vals = @$vals;
   $vars{$var} += 1;
   $vars{$var} = 0 unless $vars{$var} < $n_vals;



More information about the tex-live-commits mailing list