tr///d does not seem to work
Larry Wall [Fri, 23 Oct 1998 18:48:34 +0000 (18:48 +0000)]
p4raw-id: //depot/perl@2039

lib/utf8_heavy.pl

index 71cbb17..0f58823 100644 (file)
@@ -123,8 +123,7 @@ sub SWASHGET {
 #              print "$min $max $val\n";
                if ($none) {
                    if ($min < $start) {
-                       $val += $start - $min;
-                       $val = $none if $val > $none;
+                       $val += $start - $min if $val < $none;
                        $min = $start;
                    }
                    for ($key = $min; $key <= $max; $key++) {