summaryrefslogtreecommitdiff
path: root/dix/dixfonts.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2008-07-16 14:19:04 -0400
committerAdam Jackson <ajax@redhat.com>2008-07-16 14:19:04 -0400
commita82e6efb7b9b2ab9a1597b002f375c5ee105e7f5 (patch)
tree8bd34562d7d633393552d726c38720dbab190ef3 /dix/dixfonts.c
parent1a573e402ec112913a404f092b5b97d8d9210f94 (diff)
Remove the numVideoScreens xprintism.
This was to account for cases where you had video and print screens in the same server. Lunacy. Leave the slot in ScreenInfo, but rename it, and stop looking at it.
Diffstat (limited to 'dix/dixfonts.c')
-rw-r--r--dix/dixfonts.c15
1 files changed, 3 insertions, 12 deletions
diff --git a/dix/dixfonts.c b/dix/dixfonts.c
index 89f15289a..1c6d37fda 100644
--- a/dix/dixfonts.c
+++ b/dix/dixfonts.c
@@ -1908,21 +1908,12 @@ InitFonts (void)
{
patternCache = MakeFontPatternCache();
-#ifndef BUILTIN_FONTS
- if (screenInfo.numScreens > screenInfo.numVideoScreens) {
- PrinterFontRegisterFpeFunctions();
- FontFileCheckRegisterFpeFunctions();
- check_fs_register_fpe_functions();
- } else
-#endif
- {
#ifdef BUILTIN_FONTS
- BuiltinRegisterFpeFunctions();
+ BuiltinRegisterFpeFunctions();
#else
- FontFileRegisterFpeFunctions();
- fs_register_fpe_functions();
+ FontFileRegisterFpeFunctions();
+ fs_register_fpe_functions();
#endif
- }
}
int