fix pointer arithmetic bug in read_data

This commit is contained in:
Axel Kohlmeyer
2014-01-06 17:47:54 -05:00
parent f13a26257d
commit a6d3d8691b

View File

@ -63,7 +63,7 @@ static int style_match(const char *one, const char *two)
// cannot compare empty styles
if ((len1 == NULL) || (len2 == NULL)) return 1;
if ((one == NULL) || (two == NULL)) return 1;
len1 = strlen(one);
len2 = strlen(two);