summaryrefslogtreecommitdiff
path: root/lib/GridFiller/Chooser/Smarter.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/GridFiller/Chooser/Smarter.pm')
-rw-r--r--lib/GridFiller/Chooser/Smarter.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/GridFiller/Chooser/Smarter.pm b/lib/GridFiller/Chooser/Smarter.pm
index 814e930..fd21dae 100644
--- a/lib/GridFiller/Chooser/Smarter.pm
+++ b/lib/GridFiller/Chooser/Smarter.pm
@@ -14,7 +14,7 @@ sub maxfirst {
sub find_place_for {
my ($self,$word) = @_;
- my $length = length $word;
+ my $length = $self->length->($word);
my @candidates;