Browse Source

xbrushwidth settable from keyboard

pre-master-46
h_vogt 17 years ago
parent
commit
71104809b2
  1. 3
      ChangeLog
  2. 9
      src/frontend/wdisp/windisp.c

3
ChangeLog

@ -1,3 +1,6 @@
2009-12-07 Holger Vogt
* windisp.c: allow aeeting of linewidth by keyboard entry
2009-12-05: Dietmar Warning
* inpcom.c, line 3090: allow parameter without curly braces in subckt definition
(e.g.: as1=as), there was a wrong memory access before

9
src/frontend/wdisp/windisp.c

@ -120,15 +120,20 @@ int WIN_Init( )
if (cieq(colorstring, "white")) isblack = FALSE;
else isblack = TRUE;
}
/* get linewidth information from spinit */
if (!cp_getvar("xbrushwidth", VT_NUM, &linewidth))
linewidth = 0;
if (linewidth < 0) linewidth = 0;
/* only for the first time: */
if (!IsRegistered) {
isblackold = isblack;
/* get linewidth information from spinit */
/* get linewidth information from spinit
if (!cp_getvar("xbrushwidth", VT_NUM, &linewidth))
linewidth = 0;
if (linewidth < 0) linewidth = 0;
if (linewidth < 0) linewidth = 0; */
/* Initialize colors */
if (isblack) {

Loading…
Cancel
Save