projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
avoid "used once" warning
[p5sagit/p5-mst-13.2.git]
/
lib
/
utf8_heavy.pl
diff --git
a/lib/utf8_heavy.pl
b/lib/utf8_heavy.pl
index
71cbb17
..
0f58823
100644
(file)
--- a/
lib/utf8_heavy.pl
+++ b/
lib/utf8_heavy.pl
@@
-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++) {