diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ext/curses/hello.rb | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Fri Apr 5 12:06:00 2013 Zachary Scott <zachary@zacharyscott.net> + + * ext/curses/hello.rb: Typo in Curses example by Drew Blas + [Fixes GH-273] + Thu Apr 4 23:45:13 2013 Tanaka Akira <akr@fsij.org> * lib/resolv.rb (bind_random_port): Rescue EACCES for SunOS. diff --git a/ext/curses/hello.rb b/ext/curses/hello.rb index 7f57d801a3..f176583a95 100644 --- a/ext/curses/hello.rb +++ b/ext/curses/hello.rb @@ -7,7 +7,7 @@ def show_message(message) width = message.length + 6 win = Window.new(5, width, (lines - 5) / 2, (cols - width) / 2) - win.box(?|, ?-) + win.box('|', '-') win.setpos(2, 3) win.addstr(message) win.refresh |