~ubuntu-branches/ubuntu/dapper/tk8.3/dapper-updates

« back to all changes in this revision

Viewing changes to debian/patches/font_order

  • Committer: Bazaar Package Importer
  • Author(s): Chris Waters
  • Date: 2003-08-09 20:31:17 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20030809203117-cqn7lcdd688zie76
Tags: 8.3.5-4
Added support for GNU/FreeBSD (closes: #200530).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Index: tkUnixFont.c
 
2
===================================================================
 
3
RCS file: /home/xtifr/cvs/debian/tk8.3/unix/tkUnixFont.c,v
 
4
retrieving revision 1.1.1.1
 
5
diff -u -r1.1.1.1 tkUnixFont.c
 
6
--- tkUnixFont.c        5 Apr 2001 22:09:13 -0000       1.1.1.1
 
7
+++ tkUnixFont.c        13 Dec 2002 09:45:36 -0000
 
8
@@ -1315,7 +1315,7 @@
 
9
        IdentifySymbolEncodings(&got);
 
10
        scalable = (got.fa.size == 0);
 
11
        score = RankAttributes(&want, &got);
 
12
-       if (score <= bestScore[scalable]) {
 
13
+       if (score < bestScore[scalable]) {
 
14
            bestIdx[scalable] = nameIdx;
 
15
            bestScore[scalable] = score;
 
16
        }
 
17
@@ -2309,7 +2309,7 @@
 
18
 
 
19
        scalable = (got.fa.size == 0);
 
20
        score = RankAttributes(&want, &got);
 
21
-       if (score <= bestScore[scalable]) {
 
22
+       if (score < bestScore[scalable]) {
 
23
            bestIdx[scalable] = nameIdx;
 
24
            bestScore[scalable] = score;
 
25
        }