summaryrefslogtreecommitdiff
path: root/src/indent.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2008-03-28 17:24:51 +0000
committerAndreas Schwab <schwab@suse.de>2008-03-28 17:24:51 +0000
commit4c92f4298ed4022aed7ca782076b22c9be96f605 (patch)
treeac649eac44bd0ecb172ffc2e4234a60f5f9a1460 /src/indent.c
parentc6de7e54d86710b25b5f7c7566ef9b4d90a7b4a4 (diff)
downloademacs-4c92f4298ed4022aed7ca782076b22c9be96f605.tar.gz
(Fmove_to_column): Move declaration before statements.
Diffstat (limited to 'src/indent.c')
-rw-r--r--src/indent.c5
1 files changed, 3 insertions, 2 deletions
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;