]> git.sesse.net Git - nms/blobdiff - web/make-switches.pl
dhcptail changes for TG07.
[nms] / web / make-switches.pl
index 2829ed7fb28daf60f57c821d7ebdb61e3f192f95..e1d3fe9b3c4f400bfabc3a7e585317889723a2f6 100644 (file)
@@ -22,7 +22,7 @@ while (<PATCHLIST>) {
        $name =~ /e(\d+)-(\d+)/;
        my ($e, $s) = ($1, $2);
 
-       my $x = int(202 + $e * 8.25);
+       my $x = int(244 + $e * 9.87);
        my $y;
 
        $x += 7 if ($e >= 19);
@@ -35,12 +35,12 @@ while (<PATCHLIST>) {
                $c = $e;
                $d = ($s - 1) * 64;
 
-               $y = 470 - $s * 48;
+               $y = 455 - $s * 48;
        } else {
                $c = $e + 1;
                $d = ($s - 4) * 64;
 
-               $y = 400 - $s * 48 - ($s - 3) * 2;
+               $y = 424 - $s * 48 - ($s - 3) * 2;
        }
 
        my $xx = $x + 12;