emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/indent.c


From: Richard M. Stallman
Subject: [Emacs-diffs] Changes to emacs/src/indent.c
Date: Mon, 19 Nov 2001 01:25:34 -0500

Index: emacs/src/indent.c
diff -u emacs/src/indent.c:1.144 emacs/src/indent.c:1.145
--- emacs/src/indent.c:1.144    Fri Nov  9 01:21:35 2001
+++ emacs/src/indent.c  Mon Nov 19 01:25:33 2001
@@ -616,10 +616,12 @@
              unsigned char *ptr;
              int bytes, width, wide_column;
              
-             scan_byte--;
              ptr = BYTE_POS_ADDR (scan_byte);
              MULTIBYTE_BYTES_WIDTH (ptr, dp);
              scan_byte += bytes;
+             /* Subtract one to compensate for the increment
+                that is going to happen below.  */
+             scan_byte--;
              col += width;
            }
          else if (ctl_arrow && (c < 040 || c == 0177))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]