X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=menu%2Fm_post.c;fp=menu%2Fm_post.c;h=85da64b6b698b26c3292a43d021923087b57a2f4;hp=1dbd6b807bde8a673da7a2581e5f9f161a9db08c;hb=d761c922d94448b16b71061ee5efeb346b744f13;hpb=414771292d2331e48bc09f49813998adc33929e2 diff --git a/menu/m_post.c b/menu/m_post.c index 1dbd6b80..85da64b6 100644 --- a/menu/m_post.c +++ b/menu/m_post.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright 2020,2021 Thomas E. Dickey * + * Copyright 2020-2021,2022 Thomas E. Dickey * * Copyright 1998-2010,2012 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * @@ -38,7 +38,7 @@ #include "menu.priv.h" -MODULE_ID("$Id: m_post.c,v 1.36 2021/05/08 20:20:01 tom Exp $") +MODULE_ID("$Id: m_post.c,v 1.37 2022/09/03 21:40:27 tom Exp $") /*--------------------------------------------------------------------------- | Facility : libnmenu @@ -203,7 +203,6 @@ _nc_Draw_Menu(const MENU *menu) ITEM *item = menu->items[0]; ITEM *lastvert; ITEM *hitem; - int y = 0; chtype s_bkgd; assert(item && menu->win); @@ -219,6 +218,7 @@ _nc_Draw_Menu(const MENU *menu) { do { + int y = 0; ITEM *lasthor; wmove(menu->win, y, 0);