Commit 1e5754f2d6f3999f609bd3897883f69ef0285e96

Just van Rossum 2000-03-02T10:52:57

added missing "else": without it FT_Open_Face() would still scan the list of drivers when specifying an explicit driver

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/base/ftobjs.c b/src/base/ftobjs.c
index 479981b..56d96e1 100644
--- a/src/base/ftobjs.c
+++ b/src/base/ftobjs.c
@@ -1227,7 +1227,7 @@
 
       goto Fail;
     }
-    
+    else
     {
       /* check each font driver for an appropriate format */
       FT_Driver*  cur   = library->drivers;