"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "util.c" between
xterm-363.tgz and xterm-364.tgz

About: xterm is a terminal emulator for X with ISO/ANSI color and vt220 enhancements.

util.c  (xterm-363.tgz):util.c  (xterm-364.tgz)
/* $XTermId: util.c,v 1.871 2020/12/21 22:01:11 tom Exp $ */ /* $XTermId: util.c,v 1.872 2021/01/31 18:12:09 tom Exp $ */
/* /*
* Copyright 1999-2019,2020 by Thomas E. Dickey * Copyright 1999-2020,2021 by Thomas E. Dickey
* *
* All Rights Reserved * All Rights Reserved
* *
* Permission is hereby granted, free of charge, to any person obtaining a * Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the * copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including * "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish, * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to * distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to * permit persons to whom the Software is furnished to do so, subject to
* the following conditions: * the following conditions:
skipping to change at line 4296 skipping to change at line 4296
/* /*
* Behave as if the font has (maybe Unicode-replacements for) drawing * Behave as if the font has (maybe Unicode-replacements for) drawing
* characters in the range 1-31 (either we were not asked to ignore them, * characters in the range 1-31 (either we were not asked to ignore them,
* or the caller made sure that there is none). * or the caller made sure that there is none).
*/ */
#if OPT_WIDE_ATTRS #if OPT_WIDE_ATTRS
#define AttrFlags() recur.attr_flags #define AttrFlags() recur.attr_flags
#define DrawFlags() recur.draw_flags #define DrawFlags() recur.draw_flags
#else #else
#define AttrFlags() (recur.attr_flags & DRAWX_MASK) #define AttrFlags() (recur.attr_flags & DRAWX_MASK)
#define DrawFlags() (recur.draw_flags & ~DRAWX_MASK) #define DrawFlags() (recur.draw_flags & (unsigned)~DRAWX_MASK)
#endif #endif
TRACE(("drawtext%c[%4d,%4d] {%#x,%#x} (%d) %d:%s\n", TRACE(("drawtext%c[%4d,%4d] {%#x,%#x} (%d) %d:%s\n",
screen->cursor_state == OFF ? ' ' : '*', screen->cursor_state == OFF ? ' ' : '*',
y, x, y, x,
AttrFlags(), AttrFlags(),
DrawFlags(), DrawFlags(),
recur.this_chrset, len, recur.this_chrset, len,
visibleIChars(text, len))); visibleIChars(text, len)));
if (screen->scale_height != 1.0f) { if (screen->scale_height != 1.0f) {
xtermFillCells(&recur, gc, x, y, (Cardinal) len); xtermFillCells(&recur, gc, x, y, (Cardinal) len);
 End of changes. 3 change blocks. 
3 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)