From: Andreas Schwab Date: Fri, 28 Mar 2008 17:24:51 +0000 (+0000) Subject: (Fmove_to_column): Move declaration before statements. X-Git-Tag: emacs-pretest-23.0.90~6836 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4c92f4298ed4022aed7ca782076b22c9be96f605;p=emacs.git (Fmove_to_column): Move declaration before statements. --- diff --git a/src/ChangeLog b/src/ChangeLog index d0a9dbb89a8..391ea05e7aa 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2008-03-28 Andreas Schwab + + * indent.c (Fmove_to_column): Move declaration before statements. + 2008-03-27 Stefan Monnier * frame.h (enum fullscreen_type): Give it a name. Move it before use. diff --git a/src/indent.c b/src/indent.c index 5480cae2489..9ac4478bf57 100644 --- a/src/indent.c +++ b/src/indent.c @@ -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;