]> git.eshelyaron.com Git - emacs.git/commitdiff
xfns.c (x_real_positions): Fix declaration-after-statement problem.
authorEli Zaretskii <eliz@gnu.org>
Tue, 9 Nov 2010 13:55:52 +0000 (15:55 +0200)
committerEli Zaretskii <eliz@gnu.org>
Tue, 9 Nov 2010 13:55:52 +0000 (15:55 +0200)
src/ChangeLog
src/xfns.c

index cba2b4b478df33280166471c604064225e2e9166..c52c84961fa544a057f86842a8e2461da1f164ef 100644 (file)
@@ -1,3 +1,8 @@
+2010-11-09  Eli Zaretskii  <eliz@gnu.org>
+
+       * xfns.c (x_real_positions): Fix declaration-after-statement
+       problem.
+
 2010-11-05  Chong Yidong  <cyd@stupidchicken.com>
 
        * image.c (free_image): Don't garbage the frame here, since this
index b65323f199f9f9fbd3844c81cd5becf94c3124a5..2e2bda4924606bc4af965238a6f2ff83d0895077 100644 (file)
@@ -645,11 +645,10 @@ x_real_positions (f, xptr, yptr)
         {
           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];