]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - ncurses/base/lib_dft_fgbg.c
ncurses 5.7 - patch 20090530
[ncurses.git] / ncurses / base / lib_dft_fgbg.c
index eda197619189a98222d6c81b539cdf5e6bd8d338..b72c0b9422f2bfbdde62a39a91869fde5ab432bb 100644 (file)
@@ -37,7 +37,7 @@
 #define CUR SP_TERMTYPE
 #endif
 
-MODULE_ID("$Id: lib_dft_fgbg.c,v 1.23 2009/05/23 23:04:15 tom Exp $")
+MODULE_ID("$Id: lib_dft_fgbg.c,v 1.24 2009/05/30 20:00:00 tom Exp $")
 
 /*
  * Modify the behavior of color-pair 0 so that the library doesn't assume that
@@ -69,8 +69,8 @@ NCURSES_SP_NAME(assume_default_colors) (NCURSES_SP_DCLx int fg, int bg)
 
     T((T_CALLED("assume_default_colors(%p,%d,%d)"), SP_PARM, fg, bg));
 #ifdef USE_TERM_DRIVER
-    if (SP_PARM != 0)
-       code = CallDriver_2(SP_PARM, defaultcolors, fg, bg);
+    if (sp != 0)
+       code = CallDriver_2(sp, defaultcolors, fg, bg);
 #else
     if ((orig_pair || orig_colors) && !initialize_pair) {