"Fossies" - the Fresh Open Source Software Archive  

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

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

svg.c  (xterm-366.tgz):svg.c  (xterm-367.tgz)
/* $XTermId: svg.c,v 1.17 2020/06/02 23:24:31 tom Exp $ */ /* $XTermId: svg.c,v 1.19 2021/02/25 23:20:05 tom Exp $ */
/* /*
* Copyright 2017-2019,2020 Thomas E. Dickey * Copyright 2017-2020,2021 Thomas E. Dickey
* Copyright 2015-2016,2017 Jens Schweikhardt * Copyright 2015-2016,2017 Jens Schweikhardt
* *
* All Rights Reserved * All Rights Reserved
* *
* Permission is hereby granted, free of charge, to any person obtaining a copy * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to * of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the * deal in the Software without restriction, including without limitation the
* rights to use, copy, modify, merge, publish, distribute, sublicense, * rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the * and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions: * Software is furnished to do so, subject to the following conditions:
skipping to change at line 175 skipping to change at line 175
bgcolor.pixel = s->Acolors[bg].value; bgcolor.pixel = s->Acolors[bg].value;
} }
#endif #endif
XQueryColor(xw->screen.display, xw->core.colormap, &fgcolor); XQueryColor(xw->screen.display, xw->core.colormap, &fgcolor);
XQueryColor(xw->screen.display, xw->core.colormap, &bgcolor); XQueryColor(xw->screen.display, xw->core.colormap, &bgcolor);
xevents(xw); xevents(xw);
if (ld->attribs[col] & BLINK) { if (ld->attribs[col] & BLINK) {
/* White on red. */ /* White on red. */
fgcolor.red = fgcolor.green = fgcolor.blue = 65535u; fgcolor.red = fgcolor.green = fgcolor.blue = MAX_U_COLOR;
bgcolor.red = 65535u; bgcolor.red = MAX_U_COLOR;
bgcolor.green = bgcolor.blue = 0u; bgcolor.green = bgcolor.blue = 0u;
} }
#if OPT_WIDE_ATTRS #if OPT_WIDE_ATTRS
if (ld->attribs[col] & ATR_FAINT) { if (ld->attribs[col] & ATR_FAINT) {
MakeDim(fgcolor.red); MakeDim(fgcolor.red);
MakeDim(fgcolor.green); MakeDim(fgcolor.green);
MakeDim(fgcolor.blue); MakeDim(fgcolor.blue);
} }
#endif #endif
if (ld->attribs[col] & INVERSE) { if (ld->attribs[col] & INVERSE) {
 End of changes. 3 change blocks. 
4 lines changed or deleted 4 lines changed or added

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