diff options
author | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-04-05 03:10:14 +0000 |
---|---|---|
committer | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-04-05 03:10:14 +0000 |
commit | b0446f37a61c5e5164b73248a7aaf1f92d30b8de (patch) | |
tree | d0af057e5705307d6dd0c05f48885e3f2ee18f90 | |
parent | 3d42f0076d96a65a9b4407efba73a3be5141ecb1 (diff) | |
download | ruby-b0446f37a61c5e5164b73248a7aaf1f92d30b8de.tar.gz |
* ext/curses/hello.rb: Typo in Curses example by Drew Blas
[Fixes GH-273]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-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 |