]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fmove_to_column): Move declaration before statements.
authorAndreas Schwab <schwab@suse.de>
Fri, 28 Mar 2008 17:24:51 +0000 (17:24 +0000)
committerAndreas Schwab <schwab@suse.de>
Fri, 28 Mar 2008 17:24:51 +0000 (17:24 +0000)
src/ChangeLog
src/indent.c

index d0a9dbb89a85a810839cf7aebcaa0ad41b180aaa..391ea05e7aae561cc43345a9a7927eca376e9fed 100644 (file)
@@ -1,3 +1,7 @@
+2008-03-28  Andreas Schwab  <schwab@suse.de>
+
+       * indent.c (Fmove_to_column): Move declaration before statements.
+
 2008-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * frame.h (enum fullscreen_type): Give it a name.  Move it before use.
index 5480cae2489510168a7eeb29e833a0dde2aeab00..9ac4478bf574ec1b4ab1d2fefa2f602c172accc8 100644 (file)
@@ -1038,10 +1038,11 @@ The return value is the current column.  */)
      and scan through it again.  */
   if (!NILP (force) && col > goal)
     {
+      int c;
       EMACS_INT pos_byte = PT_BYTE;
-      DEC_POS (pos_byte);
-      int c = FETCH_CHAR (pos_byte);
 
+      DEC_POS (pos_byte);
+      c = FETCH_CHAR (pos_byte);
       if (c == '\t' && prev_col < goal)
        {
          EMACS_INT goal_pt, goal_pt_byte;