Skip to content

Commit c063745

Browse files
committed
Merge pull request #24 from dhasenan/master
Return OK from wattr_set.
2 parents 186e870 + 079815e commit c063745

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deimos/ncurses/curses.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -829,7 +829,7 @@ int wattr_on(WINDOW* win, attr_t attrs, void* opts);
829829
int wattr_off(WINDOW* win, attr_t attrs, void* opts);
830830
int wattr_set(W:WINDOW, A:attr_t, S:short, V:void)
831831
(W* win, A attrs, S pair, V* opts)
832-
{ return win.attrs = (attrs & ~A_COLOR) | COLOR_PAIR(pair); }
832+
{ win.attrs = (attrs & ~A_COLOR) | COLOR_PAIR(pair); return OK; }
833833
int wbkgd(WINDOW* win, chtype ch);
834834
void wbkgdset(WINDOW* win, chtype ch);
835835
int wborder(WINDOW* win, chtype ls, chtype rs,

0 commit comments

Comments
 (0)