"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "linedata.c" between
xterm-366.tgz and xterm-367.tgz

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

linedata.c  (xterm-366.tgz):linedata.c  (xterm-367.tgz)
/* $XTermId: linedata.c,v 1.97 2019/06/30 19:10:53 tom Exp $ */ /* $XTermId: linedata.c,v 1.99 2021/03/08 00:24:12 tom Exp $ */
/* /*
* Copyright 2009-2018,2019 by Thomas E. Dickey * Copyright 2009-2019,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 254 skipping to change at line 254
if_OPT_WIDE_CHARS(screen, { if_OPT_WIDE_CHARS(screen, {
size_t off; size_t off;
Bool blank = (((item->charData == HIDDEN_CHAR) Bool blank = (((item->charData == HIDDEN_CHAR)
&& (limits == NULL && (limits == NULL
|| (column + 1) == limits->left)) || (column + 1) == limits->left))
|| (item->charData != HIDDEN_CHAR || (item->charData != HIDDEN_CHAR
&& WideCells(item->charData) > 1 && WideCells(item->charData) > 1
&& (limits == NULL && (limits == NULL
|| (column + 1) >= limits->right))); || (column + 1) >= limits->right)));
if (blank) { if (blank) {
item->charData = (Char) ' '; item->charData = (CharData) ' ';
} }
item->combSize = blank ? 0 : ld->combSize; item->combSize = blank ? 0 : ld->combSize;
for_each_combData(off, item) { for_each_combData(off, item) {
item->combData[off] = ld->combData[off][column]; item->combData[off] = ld->combData[off][column];
} }
}); });
TRACE2(("SAVED::%s\n", visibleIChars(&(item->charData), 1))); TRACE2(("SAVED::%s\n", visibleIChars(&(item->charData), 1)));
} }
} }
 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)