changeset 93342:f6e488e577db

(Fmove_to_column): Move declaration before statements.
author Andreas Schwab <schwab@suse.de>
date Fri, 28 Mar 2008 17:24:51 +0000
parents fba5389c3d1e
children a461250ed6bf
files src/ChangeLog src/indent.c
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Fri Mar 28 17:05:47 2008 +0000
+++ b/src/ChangeLog	Fri Mar 28 17:24:51 2008 +0000
@@ -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.
--- a/src/indent.c	Fri Mar 28 17:05:47 2008 +0000
+++ b/src/indent.c	Fri Mar 28 17:24:51 2008 +0000
@@ -1038,10 +1038,11 @@
      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);
-
+      c = FETCH_CHAR (pos_byte);
       if (c == '\t' && prev_col < goal)
 	{
 	  EMACS_INT goal_pt, goal_pt_byte;