~ubuntu-branches/ubuntu/raring/libwmf/raring-proposed

« back to all changes in this revision

Viewing changes to debian/patches/03_font.c-compare-fonts-by-name.patch

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2010-07-29 08:10:27 UTC
  • mfrom: (4.1.4 experimental)
  • Revision ID: james.westby@ubuntu.com-20100729081027-omlpzqyzcscb6y0u
Tags: 0.2.8.4-7ubuntu1
* Merge with Debian experimental to get libgdk-pixbuf2.0-0 installable
  again. Remaining Ubuntu changes:
  - Split out GTK plugin into separate package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--- libwmf-0.2.8.4.orig/src/font.c
 
2
+++ libwmf-0.2.8.4/src/font.c
 
3
@@ -199,7 +199,7 @@
 
4
        unsigned int i = 0;
 
5
 
 
6
        while (font_data->cache[i].name)
 
7
-       {       if (strcmp (font_data->cache[i].path,entry->path) == 0) break;
 
8
+       {       if (strcmp (font_data->cache[i].name,entry->name) == 0) break;
 
9
                i++;
 
10
        }
 
11