summaryrefslogtreecommitdiffstats
path: root/xlib
diff options
context:
space:
mode:
Diffstat (limited to 'xlib')
-rw-r--r--xlib/xgc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlib/xgc.c b/xlib/xgc.c
index 752df30..7f6edff 100644
--- a/xlib/xgc.c
+++ b/xlib/xgc.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: xgc.c,v 1.6 2002/08/31 06:12:31 das Exp $
+ * RCS: @(#) $Id: xgc.c,v 1.6.2.1 2005/03/25 04:02:41 wolfsuit Exp $
*/
#include <tkInt.h>
@@ -73,7 +73,7 @@ XCreateGC(display, d, mask, values)
gp->plane_mask = (mask & GCPlaneMask) ?values->plane_mask :~0;
gp->foreground = (mask & GCForeground) ?values->foreground :0;
gp->background = (mask & GCBackground) ?values->background :0xffffff;
- gp->line_width = (mask & GCLineWidth) ?values->line_width :0;
+ gp->line_width = (mask & GCLineWidth) ?values->line_width :1;
gp->line_style = (mask & GCLineStyle) ?values->line_style :LineSolid;
gp->cap_style = (mask & GCCapStyle) ?values->cap_style :0;
gp->join_style = (mask & GCJoinStyle) ?values->join_style :0;