Skip to content

Commit 20274b9

Browse files
[3.13] gh-154587: Fix Windows buffer declaration in _cursesmodule (GH-154609) (GH-154933)
(cherry picked from commit 0e54a40) Co-authored-by: Bhuvansh <bhuvanshkataria@gmail.com>
1 parent 705da2e commit 20274b9

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
@@ -677,7 +677,7 @@ PyCursesWindow_New(WINDOW *win, const char *encoding,
677677

678678
if (encoding == NULL) {
679679
#if defined(MS_WINDOWS)
680-
char *buffer[100];
680+
char buffer[100];
681681
UINT cp;
682682
cp = GetConsoleOutputCP();
683683
if (cp != 0) {

0 commit comments

Comments
 (0)