Make FcInitDebug() idempotent

This commit is contained in:
Behdad Esfahbod 2012-10-07 16:09:35 -04:00
parent b97ab0c949
commit 7019896c99
1 changed files with 10 additions and 8 deletions

View File

@ -455,6 +455,7 @@ int FcDebugVal;
void
FcInitDebug (void)
{
if (!FcDebugVal) {
char *e;
e = getenv ("FC_DEBUG");
@ -466,6 +467,7 @@ FcInitDebug (void)
FcDebugVal = 0;
}
}
}
#define __fcdbg__
#include "fcaliastail.h"
#undef __fcdbg__