Skip to content

Commit

Permalink
Merge pull request #2 from steinuil/master
Browse files Browse the repository at this point in the history
updated line.cr to fit with the new default value syntax
  • Loading branch information
andrewsuzuki committed Apr 10, 2016
2 parents 1f967fc + 14b5596 commit d64743d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/termbox/line.cr
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module Termbox
class Line < Termbox::Element
getter :cell, :size, :is_vertical

def initialize(@cell : Cell, @size : Int, @is_vertical = true : Bool)
def initialize(@cell : Cell, @size : Int, @is_vertical : Bool = true)
end

def render : Array(Cell)
Expand Down

0 comments on commit d64743d

Please sign in to comment.