~ubuntu-branches/ubuntu/edgy/vim/edgy-updates

« back to all changes in this revision

Viewing changes to debian/patches/301_xxd.c.diff

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2006-02-02 13:55:52 UTC
  • Revision ID: james.westby@ubuntu.com-20060202135552-o60gcf576osqpmcg
Tags: 1:6.4-006+2ubuntu1
* Synchronize with Debian unstable.
* Convert Ubuntu patches to use quilt.
* Re-register alternative for `editor'.
* Install .desktop file again, add attribute NoDisplay=true.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
diff -Nur vim63.orig/src/xxd/xxd.c vim63/src/xxd/xxd.c
2
 
--- vim63.orig/src/xxd/xxd.c    2003-05-24 15:42:57.000000000 +0000
3
 
+++ vim63/src/xxd/xxd.c 2004-11-09 18:17:37.000000000 +0000
4
 
@@ -266,6 +266,9 @@
5
 
       if (c == '\r')   /* Doze style input file? */
6
 
        continue;
7
 
 
8
 
+      if (c==' ' || c=='\n' || c=='\t')        /* allow multiple spaces */
9
 
+        continue;
10
 
+
11
 
       n3 = n2;
12
 
       n2 = n1;
13