Declare dir in the right scope.

SVN revision: 36945
This commit is contained in:
Cedric BAIL 2008-10-21 16:54:30 +00:00
parent 0ea9b88ae1
commit a360b26230
1 changed files with 1 additions and 1 deletions

View File

@ -373,6 +373,7 @@ evas_font_dir_available_list(const Evas *evas)
Eina_List *l;
Eina_List *ll;
Eina_List *available = NULL;
char *dir;
#ifdef HAVE_FONTCONFIG
/* Add font config fonts */
@ -380,7 +381,6 @@ evas_font_dir_available_list(const Evas *evas)
FcFontSet *set = NULL;
FcObjectSet *os;
int i;
char *dir;
p = FcPatternCreate();
os = FcObjectSetBuild(FC_FAMILY, FC_STYLE, NULL);