Skip to content
Browse files

Fix for katakana words

  • Loading branch information...
1 parent 93f2ddc commit ad937a296eb298c9191cfaaef6be7e1f5d65e763 @sartak committed Sep 9, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/Sartak/Vocabulary.pm
View
3 lib/Sartak/Vocabulary.pm
@@ -16,7 +16,8 @@ sub word {
my %args = @_;
if ($listwords) {
- print "$args{word} $args{furigana}\n";
+ my $reading = $args{furigana} || $args{word};
+ print "$args{word} $reading\n";
return;
}

0 comments on commit ad937a2

Please sign in to comment.
Something went wrong with that request. Please try again.