Skip to content

Commit 327c63b

Browse files
committed
notify capi 0.0.2
1 parent 773e478 commit 327c63b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/nocurses.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ static struct termsize gettermsize(){
173173
static int getch(){
174174
#ifdef _WIN32
175175
HANDLE input = GetStdHandle(STD_INPUT_HANDLE);
176-
if (h == NULL) return EOF;
176+
if (input == NULL) return EOF;
177177

178178
DWORD oldmode;
179179
GetConsoleMode(input, &oldmode);

src/notify_capi.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#define NOTIFY_CAPI_ID_STRING "_capi_notify"
55
#define NOTIFY_CAPI_VERSION_MAJOR 0
66
#define NOTIFY_CAPI_VERSION_MINOR 0
7-
#define NOTIFY_CAPI_VERSION_PATCH 1
7+
#define NOTIFY_CAPI_VERSION_PATCH 2
88

99
#ifndef NOTIFY_CAPI_IMPLEMENT_SET_CAPI
1010
# define NOTIFY_CAPI_IMPLEMENT_SET_CAPI 0

0 commit comments

Comments
 (0)