Mercurial > emacs
diff src/xfns.c @ 111391:3a0f0f0023d2
xfns.c (x_real_positions): Fix declaration-after-statement problem.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Tue, 09 Nov 2010 15:55:52 +0200 |
parents | a9fb26c764e7 |
children | 132f2dfd549f 376148b31b5e |
line wrap: on
line diff
--- a/src/xfns.c Mon Nov 08 23:41:57 2010 -0800 +++ b/src/xfns.c Tue Nov 09 15:55:52 2010 +0200 @@ -645,11 +645,10 @@ { int ign; Window rootw; + long *fe = (long *)tmp_data; XGetGeometry (FRAME_X_DISPLAY (f), win, &rootw, &real_x, &real_y, &ign, &ign, &ign, &ign); - long *fe = (long *)tmp_data; - outer_x = -fe[0]; outer_y = -fe[2]; real_x -= fe[0];