Skip to content

Commit f638ff4

Browse files
authored
change deprecated "body" by "do" (#42)
Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead.
1 parent 9ebb6da commit f638ff4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/deimos/ncurses/curses.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1483,7 +1483,7 @@ out (result)
14831483
{
14841484
assert (result < KEY_DL, "Invalid value for KEY_F(n)");
14851485
}
1486-
body
1486+
do
14871487
{
14881488
return KEY_F0 + n;
14891489
}

0 commit comments

Comments
 (0)