mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/curses/curses.c: removed trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7f36764938
commit
b2e82f2dfb
1 changed files with 31 additions and 31 deletions
|
@ -2119,7 +2119,7 @@ Init_curses(void)
|
|||
int c;
|
||||
char name[] = "KEY_CTRL_x";
|
||||
for (c = 'A'; c <= 'Z'; c++) {
|
||||
sprintf(name, "KEY_CTRL_%c", c);
|
||||
name[sizeof(name) - 2] = c;
|
||||
rb_define_const(mCurses, name, INT2FIX(c - 'A' + 1));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue