summaryrefslogtreecommitdiff
path: root/fc-query
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2013-01-03 20:31:22 -0600
committerBehdad Esfahbod <behdad@behdad.org>2013-01-03 20:34:41 -0600
commit102a4344dd7f668cf03b9665c718505050e0ae78 (patch)
tree2577b32e5d209cb33c944c5e1114bc9ed898be85 /fc-query
parentb6b678e71eb0ba2b53335b7df0804058f6bd006d (diff)
Don't use blanks for fc-query
fc-query is supposed to be config-independent.
Diffstat (limited to 'fc-query')
-rw-r--r--fc-query/fc-query.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/fc-query/fc-query.c b/fc-query/fc-query.c
index 2ed18a2c..50bef40b 100644
--- a/fc-query/fc-query.c
+++ b/fc-query/fc-query.c
@@ -142,8 +142,6 @@ main (int argc, char **argv)
return 1;
}
- blanks = FcConfigGetBlanks (NULL);
-
for (; i < argc; i++)
{
int index;
@@ -154,7 +152,7 @@ main (int argc, char **argv)
do {
FcPattern *pat;
- pat = FcFreeTypeQuery ((FcChar8 *) argv[i], index, blanks, &count);
+ pat = FcFreeTypeQuery ((FcChar8 *) argv[i], index, NULL, &count);
if (pat)
{
if (format)