summaryrefslogtreecommitdiff
path: root/src/fontfile/fontfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fontfile/fontfile.c')
-rw-r--r--src/fontfile/fontfile.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/fontfile/fontfile.c b/src/fontfile/fontfile.c
index 4fb75ad..e16b58e 100644
--- a/src/fontfile/fontfile.c
+++ b/src/fontfile/fontfile.c
@@ -73,7 +73,6 @@ static int FontFileOpenBitmapNCF (FontPathElementPtr fpe, FontPtr *pFont,
int
FontFileNameCheck (const char *name)
{
-#ifndef NCD
#if defined(WIN32)
/* WIN32 uses D:/... as a path name for fonts, so accept this as a valid
* path if it starts with a letter and a colon.
@@ -82,9 +81,6 @@ FontFileNameCheck (const char *name)
return TRUE;
#endif
return *name == '/';
-#else
- return ((strcmp(name, "built-ins") == 0) || (*name == '/'));
-#endif
}
int