plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 503f601cb052dc04b9e4e9e91f8e877f00c6b571
parent ac9d504d132b021960644bab5fca84928637b975
Author: rsc <devnull@localhost>
Date:   Thu, 17 Jun 2004 16:26:26 +0000

fix initial x y

Diffstat:
Msrc/libdraw/x11-init.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/libdraw/x11-init.c b/src/libdraw/x11-init.c @@ -323,11 +323,11 @@ xattach(char *label) * command line and allow the traditional X options. */ mask = 0; + x = 0; + y = 0; if(winsize){ if(parsewinsize(winsize, &r, &havemin) < 0) sysfatal("%r"); - x = 0; - y = 0; }else{ /* * Parse the various X resources. Thanks to Peter Canning.