summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-05 03:10:14 +0000
committerzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-05 03:10:14 +0000
commitb0446f37a61c5e5164b73248a7aaf1f92d30b8de (patch)
treed0af057e5705307d6dd0c05f48885e3f2ee18f90 /ext
parent3d42f0076d96a65a9b4407efba73a3be5141ecb1 (diff)
* 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
Diffstat (limited to 'ext')
-rw-r--r--ext/curses/hello.rb2
1 files changed, 1 insertions, 1 deletions
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