repo: rxvt-unicode-sixel
action: commit
revision: 
path_from: 
revision_from: b31ffb407d8d056311be9ea66311650ba8c999e0:
path_to: 
revision_to: 
git.thebackupbox.net
rxvt-unicode-sixel
git clone git://git.thebackupbox.net/rxvt-unicode-sixel
commit b31ffb407d8d056311be9ea66311650ba8c999e0
Author: Marc Lehmann 
Date:   Thu Apr 1 01:01:44 2010 +0000

    *** empty log message ***

diff --git a/src/rxvt.h b/src/rxvt.h
index 1173694b5a1bb23ff4960abde75637899d9bfd76..
index ..ef5cc40ac04bcc73890bd2c98fd17e8fcfc8c10d 100644
--- a/src/rxvt.h
+++ b/src/rxvt.h
@@ -315,31 +315,31 @@ enum {
 #define RS_bgMask               (RS_colorMask << RS_bgShift)
 #define RS_fgMask               (RS_colorMask << RS_fgShift)

-// font styles
-#define RS_Bold                 0x08000000UL    // value 1
-#define RS_Italic		0x10000000UL    // value 2
-
-#define RS_styleCount		4
-#define RS_styleMask		(RS_Bold | RS_Italic)
-#define RS_styleShift		27
+// must have space for rxvt_fontset::fontCount * 2 + 2 values
+#define RS_fontShift            (RS_fgShift + Color_Bits)
+#define RS_Careful		(1UL << RS_fontShift)	/* be careful when drawing these */
+#define RS_fontMask             ((rxvt_fontset::fontCount << (RS_fontShift + 1)) | RS_Careful)   // includes RS_Careful

-// fake styles
-#define RS_Blink                0x20000000UL    // blink
-#define RS_RVid                 0x40000000UL    // reverse video
-#define RS_Uline                0x80000000UL    // underline
+// toggle this to force redraw, must be != RS_Careful and otherwise "pretty neutral"
+#define RS_redraw		(2UL << RS_fontShift)

 // 5 custom bits for extensions
 #define RS_customCount          16UL
 #define RS_customShift          23
 #define RS_customMask           ((RS_customCount - 1UL) << RS_customShift)

-// must have space for rxvt_fontset::fontCount * 2 + 2 values
-#define RS_fontShift            (RS_fgShift + Color_Bits)
-#define RS_Careful		(1UL << RS_fontShift)	/* be careful when drawing these */
-#define RS_fontMask             ((rxvt_fontset::fontCount << (RS_fontShift + 1)) | RS_Careful)   // includes RS_Careful
+// font styles
+#define RS_Bold                 (1UL << RS_styleShift)
+#define RS_Italic		(2UL << RS_styleShift)

-// toggle this to force redraw, must be != RS_Careful and otherwise "pretty neutral"
-#define RS_redraw		(2UL << RS_fontShift)
+#define RS_styleCount		4
+#define RS_styleShift		27
+#define RS_styleMask		(RS_Bold | RS_Italic)
+
+// fake styles
+#define RS_Blink                (1UL << 29)
+#define RS_RVid                 (1UL << 30)    // reverse video
+#define RS_Uline                (1UL << 31)    // underline

 #define RS_baseattrMask         (RS_Italic | RS_Bold | RS_Blink | RS_RVid | RS_Uline)
 #define RS_attrMask             (RS_baseattrMask | RS_fontMask)

-----END OF PAGE-----