aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libdraw/x11-init.c4
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.