diff options
author | rsc <devnull@localhost> | 2004-06-17 16:26:26 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2004-06-17 16:26:26 +0000 |
commit | 503f601cb052dc04b9e4e9e91f8e877f00c6b571 (patch) | |
tree | a7223f49d037b71c9829bcf62c6e8441f0f726d1 | |
parent | ac9d504d132b021960644bab5fca84928637b975 (diff) | |
download | plan9port-503f601cb052dc04b9e4e9e91f8e877f00c6b571.tar.gz plan9port-503f601cb052dc04b9e4e9e91f8e877f00c6b571.tar.bz2 plan9port-503f601cb052dc04b9e4e9e91f8e877f00c6b571.zip |
fix initial x y
-rw-r--r-- | src/libdraw/x11-init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libdraw/x11-init.c b/src/libdraw/x11-init.c index 3674f40c..4d7f2238 100644 --- 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. |