Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use place_ in name as in all others functions
  • Loading branch information
gioele committed Aug 16, 2011
1 parent 73f220d commit f21b196
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rqrcode/qrcode/qr_code.rb
Expand Up @@ -178,7 +178,7 @@ def prepare_common_patterns
place_position_probe_pattern(@module_count - 7, 0)
place_position_probe_pattern(0, @module_count - 7)
place_position_adjust_pattern
setup_timing_pattern
place_timing_pattern

@common_patterns = @modules.map(&:clone)
end
Expand Down Expand Up @@ -234,7 +234,7 @@ def get_best_mask_pattern #:nodoc:
end


def setup_timing_pattern #:nodoc:
def place_timing_pattern #:nodoc:
( 8...@module_count - 8 ).each do |i|
@modules[i][6] = @modules[6][i] = i % 2 == 0
end
Expand Down

0 comments on commit f21b196

Please sign in to comment.