nconf.c (11e4afb49b7fa1fc8e1ffd850c1806dd86a08204) | nconf.c (866af407dad3f2202e5d5d717ebd6156ccc33cdd) |
---|---|
1/* 2 * Copyright (C) 2008 Nir Tzachar <nir.tzachar@gmail.com? 3 * Released under the terms of the GNU GPL v2.0. 4 * 5 * Derived from menuconfig. 6 * 7 */ 8#define LKC_DIRECT_LINK --- 662 unchanged lines hidden (view full) --- 671} 672 673static void *item_data(void) 674{ 675 ITEM *cur; 676 struct mitem *mcur; 677 678 cur = current_item(curses_menu); | 1/* 2 * Copyright (C) 2008 Nir Tzachar <nir.tzachar@gmail.com? 3 * Released under the terms of the GNU GPL v2.0. 4 * 5 * Derived from menuconfig. 6 * 7 */ 8#define LKC_DIRECT_LINK --- 662 unchanged lines hidden (view full) --- 671} 672 673static void *item_data(void) 674{ 675 ITEM *cur; 676 struct mitem *mcur; 677 678 cur = current_item(curses_menu); |
679 if (!cur) 680 return NULL; |
|
679 mcur = (struct mitem *) item_userptr(cur); 680 return mcur->usrptr; 681 682} 683 684static int item_is_tag(char tag) 685{ 686 return item_tag() == tag; --- 882 unchanged lines hidden --- | 681 mcur = (struct mitem *) item_userptr(cur); 682 return mcur->usrptr; 683 684} 685 686static int item_is_tag(char tag) 687{ 688 return item_tag() == tag; --- 882 unchanged lines hidden --- |