]>
Commit | Line | Data |
---|---|---|
54fd642e | 1 | --- linux-2.6.35/scripts/kconfig/lxdialog/dialog.h.old 2010-09-20 23:10:14.000000000 +0200 |
2 | +++ linux-2.6.35/scripts/kconfig/lxdialog/dialog.h 2010-09-20 23:10:21.000000000 +0200 | |
3 | @@ -96,6 +96,18 @@ | |
4 | /* error return codes */ | |
5 | #define ERRDISPLAYTOOSMALL (KEY_MAX + 1) | |
6 | ||
7 | +static inline int | |
8 | +own_wattrset(WINDOW *win, chtype attr) | |
9 | +{ | |
10 | + short n = PAIR_NUMBER(attr); | |
11 | + chtype a = attr & ~A_COLOR; | |
12 | + | |
13 | + wattrset(win, a); | |
14 | + return wcolor_set(win, n, NULL); | |
15 | +} | |
16 | + | |
17 | +#undef wattrset | |
18 | +#define wattrset(w,p) own_wattrset(w,p) | |
19 | /* | |
20 | * Color definitions | |
21 | */ |