emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/src/coding.c,v


From: Andreas Schwab
Subject: [Emacs-diffs] Changes to emacs/src/coding.c,v
Date: Sun, 02 Mar 2008 19:56:46 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Andreas Schwab <schwab> 08/03/02 19:56:45

Index: coding.c
===================================================================
RCS file: /sources/emacs/emacs/src/coding.c,v
retrieving revision 1.370
retrieving revision 1.371
diff -u -b -r1.370 -r1.371
--- coding.c    2 Mar 2008 08:03:42 -0000       1.370
+++ coding.c    2 Mar 2008 19:56:45 -0000       1.371
@@ -4264,7 +4264,7 @@
        break;
 
       if (byte_after_cr >= 0)
-       c1 = byte_after_cr, byte_after_cr = -1;
+       c = byte_after_cr, byte_after_cr = -1;
       else
        ONE_MORE_BYTE (c);
 
@@ -4272,7 +4272,7 @@
        goto invalid_code;
       if (c < 0x80)
        {
-         if (eol_crlf && c1 == '\r')
+         if (eol_crlf && c == '\r')
            ONE_MORE_BYTE (byte_after_cr);
          charset = charset_roman;
        }
@@ -6108,7 +6108,7 @@
            }
          produced_chars = coding->consumed_char;
          while (src < src_end)
-           *dst += *src++;
+           *dst++ = *src++;
        }
     }
 




reply via email to

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