*** empty log message ***
authorroot <root>
Sat, 31 Dec 2005 18:19:06 +0000 (18:19 +0000)
committerroot <root>
Sat, 31 Dec 2005 18:19:06 +0000 (18:19 +0000)
src/command.C
src/rxvt.h

index c2b66f76ffe502ea16628edb6328e1c9b07cda22..03d66c2d6d1e98ec95d43b28bad1d402cf2fa3bf 100644 (file)
@@ -157,12 +157,10 @@ rxvt_term::iso14755_54 (int x, int y)
       x--;
     }
 }
-#endif
 
 void
 rxvt_term::iso14755_51 (unicode_t ch, rend_t r, int x, int y)
 {
-#if ENABLE_OVERLAY
   rxvt_fontset *fs = FONTSET (r);
   rxvt_font *f = (*fs)[fs->find_font (ch)];
   wchar_t *chr, *alloc, ch2, *fname;
@@ -240,8 +238,8 @@ rxvt_term::iso14755_51 (unicode_t ch, rend_t r, int x, int y)
   if (alloc)
     delete [] alloc;
 # endif
-#endif
 }
+#endif
 
 void
 rxvt_term::commit_iso14755 ()
@@ -4050,6 +4048,13 @@ rxvt_term::process_terminal_mode (int mode, int priv __attribute__ ((unused)), u
       /* extra handling for values with state unkept  */
       switch (arg[i])
         {
+#if ENABLE_STYLES
+          case 1021:
+            if (mode)
+              SET_OPTION (Opt_intensityStyles);
+            else
+              CLR_OPTION (Opt_intensityStyles);
+#endif
           case 1048:           /* alternative cursor save */
           case 1049:
             if (OPTION (Opt_secondaryScreen))
@@ -4142,13 +4147,6 @@ rxvt_term::process_terminal_mode (int mode, int priv __attribute__ ((unused)), u
               else
                 CLR_OPTION (Opt_scrollTtyKeypress);
               break;
-#if ENABLE_STYLES
-            case 1021:
-              if (state)
-                SET_OPTION (Opt_intensityStyles);
-              else
-                CLR_OPTION (Opt_intensityStyles);
-#endif
             case 1047:         /* secondary screen w/ clearing last */
               if (OPTION (Opt_secondaryScreen))
                 if (current_screen != PRIMARY)
index ccce3fce4697f51ad27fc0a137574f33cb71b75d..79ec5d9a00848c07b8823beebbcd13c0f1653248 100644 (file)
@@ -575,6 +575,7 @@ enum {
   Rs_boldFont,
   Rs_italicFont,
   Rs_boldItalicFont,
+  Rs_intensityStyles,
 #endif
   Rs_name,
   Rs_title,
@@ -638,7 +639,6 @@ enum {
   Rs_borderLess,
   Rs_lineSpace,
   Rs_cursorUnderline,
-  Rs_intensityStyles,
 #endif
 #if CURSOR_BLINK
   Rs_cursorBlink,
@@ -1485,7 +1485,9 @@ struct rxvt_term : zero_initialized, rxvt_vars {
     int base = GET_BASEFG (r);
 #ifndef NO_BRIGHTCOLOR
     if (r & RS_Bold
-        && (!ENABLE_STYLES || OPTION (Opt_intensityStyles))
+# if ENABLE_STYLES
+        && OPTION (Opt_intensityStyles)
+# endif
         && IN_RANGE_INC (base, minCOLOR, minBrightCOLOR))
       base += minBrightCOLOR - minCOLOR;
 #endif
@@ -1497,7 +1499,9 @@ struct rxvt_term : zero_initialized, rxvt_vars {
     int base = GET_BASEBG (r);
 #ifndef NO_BRIGHTCOLOR
     if (r & RS_Blink
-        && (!ENABLE_STYLES || OPTION (Opt_intensityStyles))
+# if ENABLE_STYLES
+        && OPTION (Opt_intensityStyles)
+# endif
         && IN_RANGE_INC (base, minCOLOR, minBrightCOLOR))
       base += minBrightCOLOR - minCOLOR;
 #endif