projects
/
platform
/
upstream
/
fontconfig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6b678e
)
Don't use blanks for fc-query
author
Behdad Esfahbod
<behdad@behdad.org>
Fri, 4 Jan 2013 02:31:22 +0000
(20:31 -0600)
committer
Behdad Esfahbod
<behdad@behdad.org>
Fri, 4 Jan 2013 02:34:41 +0000
(20:34 -0600)
fc-query is supposed to be config-independent.
fc-query/fc-query.c
patch
|
blob
|
history
diff --git
a/fc-query/fc-query.c
b/fc-query/fc-query.c
index
2ed18a2
..
50bef40
100644
(file)
--- 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)