repo: rxvt-unicode-sixel
action: commit
revision: 
path_from: 
revision_from: 50460f17f683f9e1eb0be134ec9a6d97b3ad7fc1:
path_to: 
revision_to: 
git.thebackupbox.net
rxvt-unicode-sixel
git clone git://git.thebackupbox.net/rxvt-unicode-sixel
commit 50460f17f683f9e1eb0be134ec9a6d97b3ad7fc1
Author: Emanuele Giaquinta 
Date:   Tue Nov 15 19:54:30 2011 +0000

    Use bool for boolean variables.

diff --git a/src/screen.C b/src/screen.C
index aa8dfaa1c9fbfde8b43dd8a7606c7811f74aa42e..
index ..7e6a911c724f11aa538a89e64efbdf72b99479e4 100644
--- a/src/screen.C
+++ b/src/screen.C
@@ -777,7 +777,7 @@ rxvt_term::scr_add_lines (const wchar_t *str, int len, int minlines) NOTHROW
   if (len <= 0)               /* sanity */
     return;

-  unsigned char checksel;
+  bool checksel;
   unicode_t c;
   int ncol = this->ncol;
   const wchar_t *strend = str + len;
@@ -2044,7 +2044,7 @@ rxvt_term::scr_refresh () NOTHROW
   refresh_count = 0;

   unsigned int old_screen_flags = screen.flags;
-  char have_bg = 0;
+  bool have_bg = 0;
 #ifdef HAVE_BG_PIXMAP
   have_bg = bg_pixmap != None;
 #endif
@@ -2060,13 +2060,13 @@ rxvt_term::scr_refresh () NOTHROW
   scr_swap_overlay ();
 #endif

-  char showcursor = screen.flags & Screen_VisibleCursor;
+  bool showcursor = screen.flags & Screen_VisibleCursor;

   /*
    * C: set the cursor character (s)
    */
   {
-    unsigned char setoldcursor;
+    bool setoldcursor;

 #ifdef CURSOR_BLINK
     if (hidden_cursor)

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