Skip to content

Commit 0e54a40

Browse files
authored
gh-154587: Fix Windows buffer declaration in _cursesmodule (GH-154609)
1 parent b3be16d commit 0e54a40

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/_cursesmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1998,7 +1998,7 @@ PyCursesWindow_New(cursesmodule_state *state,
19981998
{
19991999
if (encoding == NULL) {
20002000
#if defined(MS_WINDOWS)
2001-
char *buffer[100];
2001+
char buffer[100];
20022002
UINT cp;
20032003
cp = GetConsoleOutputCP();
20042004
if (cp != 0) {

0 commit comments

Comments
 (0)