Pull fix from the head
authoraland <aland>
Wed, 9 Feb 2005 17:43:12 +0000 (17:43 +0000)
committeraland <aland>
Wed, 9 Feb 2005 17:43:12 +0000 (17:43 +0000)
src/lib/dict.c

index e68016b..0f6cbe7 100644 (file)
@@ -423,9 +423,9 @@ static int process_attribute(const char* fn, const int line,
                }
                else {
                          /* Must be a vendor 'flag'... */
-                         if (strncmp(s, "vendor=", 5) == 0) {
+                         if (strncmp(s, "vendor=", 7) == 0) {
                                /* New format */
-                               s += 5;
+                               s += 7;
                          }
 
                          vendor = dict_vendorbyname(s);