File: xbm-read-erroneous-semicolon.diff

package info (click to toggle)
emacs21 21.4a%2B1-3etch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 59,104 kB
  • ctags: 58,909
  • sloc: lisp: 493,229; ansic: 237,175; xml: 4,262; sh: 4,109; makefile: 2,479; perl: 1,069; cs: 776; asm: 254; csh: 9; sed: 4
file content (20 lines) | stat: -rw-r--r-- 756 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
* Remove erroneous semicolon character when reading XBM files 
  Patch: xbm-read-erroneous-semicolon.diff 
  Provided-by: Jerome Marant <jerome@debian.org> 
  Added-by: Jerome Marant <jerome@debian.org>
  Date: Mon, 16 Oct 2006 17:35:25 +0200 
  Status: has been incorporated upstream

Index: emacs21-21.4a+1/src/xfns.c
===================================================================
--- emacs21-21.4a+1.orig/src/xfns.c	2006-10-16 17:22:09.322903834 +0200
+++ emacs21-21.4a+1/src/xfns.c	2006-10-16 17:23:55.987962891 +0200
@@ -6743,7 +6743,7 @@
       expect_ident ("define");
       expect (XBM_TK_IDENT);
 
-      if (LA1 == XBM_TK_NUMBER);
+      if (LA1 == XBM_TK_NUMBER)
 	{
           char *p = strrchr (buffer, '_');
 	  p = p ? p + 1 : buffer;