Skip to content

Commit 3319a4f

Browse files
committed
minor mistake causes linker errors.
fixed.
1 parent 506da95 commit 3319a4f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

curses.d

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ __gshared chtype acs_map[256];
164164
///Instead of calling ACS_VAR, you use ACS_VAR().
165165
///Close enough for now??
166166
/* VT100 symbols begin here */
167+
167168
auto ACS_ULCORNER()()
168169
{ return acs_map[cast(ubyte)'l']; }
169170
auto ACS_LLCORNER()()
@@ -726,8 +727,8 @@ int refresh()()
726727
int resetty();
727728
int reset_prog_mode();
728729
int reset_shell_mode();
729-
//TODO check
730-
int function(int line, int function(WINDOW* win, int cols) init) ripoffline;
730+
//TODO
731+
__gshared int function(int line, int function(WINDOW* win, int cols) init) ripoffline;
731732
int savetty();
732733
int scanw(char* fmt, ...);
733734
int scr_dump(char *filename);
@@ -925,7 +926,7 @@ int getpary(U:WINDOW*)(U win)
925926
*/
926927
//TODO check...
927928
int vid_attr(chtype a, ...)
928-
{ vidattr(a); }
929+
{ return vidattr(a); }
929930

930931

931932
/*

0 commit comments

Comments
 (0)