瀏覽代碼

fixed a typo

arg@10ksloc.org 19 年之前
父節點
當前提交
f522930a99
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      client.c

+ 1 - 1
client.c

@@ -210,7 +210,7 @@ manage(Window w, XWindowAttributes *wa)
 	diff = sw - c->fw;
 	c->fx = sx + (random() % diff ? diff : 1);
 	diff = sh - c->fh;
-	c->fy = sx + (random() % diff ? diff : 1);
+	c->fy = sy + (random() % diff ? diff : 1);
 
 	c->border = 1;
 	c->proto = getproto(c->win);