X-Git-Url: http://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=menu%2Fm_cursor.c;h=77f9c759269f4eb5e8189a170f83a68659dc7030;hb=5b7f4de105080e2a715b0564ede4bb7eb6767659;hp=0293f9073c32c295795700106566a8fd60b8a9f4;hpb=027ae42953e3186daed8f3882da73de48291b606;p=ncurses.git 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);