Mailinglist Archive: yast-commit (210 mails)

< Previous Next >
[yast-commit] r63421 - in /trunk/ncurses/src: NCTextPad.cc ncursesw.cc
Author: gs
Date: Tue Feb 15 14:07:21 2011
New Revision: 63421

URL: http://svn.opensuse.org/viewcvs/yast?rev=63421&view=rev
Log:
check #ifdef NCURSES_EXT_COLORS instead of exact
patch version (which will change)

Modified:
trunk/ncurses/src/NCTextPad.cc
trunk/ncurses/src/ncursesw.cc

Modified: trunk/ncurses/src/NCTextPad.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/ncurses/src/NCTextPad.cc?rev=63421&r1=63420&r2=63421&view=diff
==============================================================================
--- trunk/ncurses/src/NCTextPad.cc (original)
+++ trunk/ncurses/src/NCTextPad.cc Tue Feb 15 14:07:21 2011
@@ -355,7 +355,7 @@
setcchar( &cchar, wch, attr, color, NULL );
// libncurses6 enables ext_color from struct cchar_t (see curses.h).
// Set ext_color to 0 to respect the settings got from attr_get (bnc#652240).

-#if NCURSES_EXT_COLORS==20100109
+#ifdef NCURSES_EXT_COLORS
cchar.ext_color = 0;
#endif
ins_wch( curs.L, curs.C++, &cchar );
@@ -496,7 +496,7 @@
setcchar( &cchar, wch, attr, color, NULL );
// libncurses6 enables ext_color from struct cchar_t (see curses.h).
// Set ext_color to 0 to respect the settings got from attr_get (bcn#652240).

-#if NCURSES_EXT_COLORS==20100109
+#ifdef NCURSES_EXT_COLORS
cchar.ext_color = 0;
#endif
ins_wch( cl, cc++, &cchar );

Modified: trunk/ncurses/src/ncursesw.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/ncurses/src/ncursesw.cc?rev=63421&r1=63420&r2=63421&view=diff
==============================================================================
--- trunk/ncurses/src/ncursesw.cc (original)
+++ trunk/ncurses/src/ncursesw.cc Tue Feb 15 14:07:21 2011
@@ -139,7 +139,7 @@

// libncurses6 enables ext_color from struct cchar_t (see curses.h).
// Set ext_color to 0 to respect the settings got from mvwin_wch (bnc#652240).
-#if NCURSES_EXT_COLORS==20100109
+#ifdef NCURSES_EXT_COLORS
combined->ext_color = 0;
#endif
return ret;
@@ -152,7 +152,7 @@
combined->attr = combined->attr & ( A_CHARTEXT | A_ALTCHARSET );
// libncurses6 enables ext_color from struct cchar_t (see curses.h).
// Set ext_color to 0 to respect the settings got from win_wch (bnc#652240).
-#if NCURSES_EXT_COLORS==20100109
+#ifdef NCURSES_EXT_COLORS
combined->ext_color = 0;
#endif
return ret;

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages