tfix initial x y - plan9port - [fork] Plan 9 from user space
HTML git clone git://src.adamsgaard.dk/plan9port
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 503f601cb052dc04b9e4e9e91f8e877f00c6b571
DIR parent ac9d504d132b021960644bab5fca84928637b975
HTML Author: rsc <devnull@localhost>
Date: Thu, 17 Jun 2004 16:26:26 +0000
fix initial x y
Diffstat:
M src/libdraw/x11-init.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
DIR diff --git a/src/libdraw/x11-init.c b/src/libdraw/x11-init.c
t@@ -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.