Skip to content

Commit

Permalink
Fix MS-DOS/Windows build.
Browse files Browse the repository at this point in the history
  • Loading branch information
gwsw committed Sep 19, 2023
1 parent ac68a18 commit 81f8b0d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions screen.c
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ extern int no_vbell;
extern int no_back_scroll;
extern int no_init;
extern int no_keypad;
extern int sigs;
extern int top_scroll;
extern int quit_if_one_screen;
extern int oldbot;
Expand Down Expand Up @@ -3009,9 +3010,9 @@ public char WIN32getch(void)
ascii = (char) currentKey.unicode;
else
{
char *up = utf8;
char *up = (char *) utf8;
put_wchar(&up, currentKey.unicode);
utf8_size = up - utf8;
utf8_size = up - (char *) utf8;
if (utf8_size == 0)
return '\0';
ascii = utf8[0];
Expand Down
1 change: 1 addition & 0 deletions ttyin.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public HANDLE tty;
#else
public int tty;
#endif
extern int sigs;
#if LESSTEST
public char *ttyin_name = NULL;
#endif /*LESSTEST*/
Expand Down

0 comments on commit 81f8b0d

Please sign in to comment.