Navigation Menu

Skip to content

Commit

Permalink
Fix a bug that -1 doesn't unlimited
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Apr 4, 2014
1 parent ae0b54c commit 4bcd3a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/wikipedia-search/groonga-converter.rb
Expand Up @@ -30,6 +30,7 @@ def initialize(output, options)
@first_page = true
@n_records = 0
@max_n_records = @options[:max_n_records]
@max_n_records = nil if @max_n_records < 0
end

def start(abort_tag)
Expand Down

0 comments on commit 4bcd3a5

Please sign in to comment.