X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=menu%2Fm_cursor.c;h=77f9c759269f4eb5e8189a170f83a68659dc7030;hp=0293f9073c32c295795700106566a8fd60b8a9f4;hb=b94faec6aab7c3613c1e7d217f6df6f42d929234;hpb=9fab8ab6b69130169a6880e63585d83efb1c1722 diff --git a/menu/m_cursor.c b/menu/m_cursor.c index 0293f907..77f9c759 100644 --- a/menu/m_cursor.c +++ b/menu/m_cursor.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 1998-2004,2005 Free Software Foundation, Inc. * + * Copyright (c) 1998-2005,2009 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -37,7 +37,7 @@ #include "menu.priv.h" -MODULE_ID("$Id: m_cursor.c,v 1.20 2005/10/22 23:03:32 tom Exp $") +MODULE_ID("$Id: m_cursor.c,v 1.21 2009/02/28 21:02:46 juergen Exp $") /*--------------------------------------------------------------------------- | Facility : libnmenu @@ -90,7 +90,7 @@ pos_menu_cursor(const MENU * menu) if (E_OK == err) { - win = menu->userwin ? menu->userwin : stdscr; + win = Get_Menu_UserWin(menu); sub = menu->usersub ? menu->usersub : win; assert(win && sub);