repo: rxvt-unicode-sixel action: commit revision: path_from: revision_from: 50460f17f683f9e1eb0be134ec9a6d97b3ad7fc1: path_to: revision_to:
commit 50460f17f683f9e1eb0be134ec9a6d97b3ad7fc1 Author: Emanuele GiaquintaDate: Tue Nov 15 19:54:30 2011 +0000 Use bool for boolean variables. diff --git a/src/screen.C b/src/screen.C
--- 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-----