xfree86: re-added configureFilesSection() to xf86Configure.c

Signed-off-by: RotaryBoot58 <petersoncraft20@proton.me>
This commit is contained in:
RotaryBoot58 2026-10-16 05:26:18 -03:00
commit 5798dcb798

View file

@ -260,6 +260,24 @@ optionTypeToString(OptionValueType type)
}
}
static XF86ConfFilesPtr
configureFilesSection(void)
{
parsePrologue(XF86ConfFilesPtr, XF86ConfFilesRec);
if(xf86ModulePath)
{
ptr->file_modulepath = XNFstrdup(xf86ModulePath);
}
if(defaultFontPath)
{
ptr->file_fontpath = XNFstrdup(defaultFontPath);
}
return ptr;
}
static XF86ConfDevicePtr
configureDeviceSection(int screennum)
{
@ -666,6 +684,7 @@ DoConfigure(void)
screen_ptr);
}
xf86config->conf_files = configureFilesSection();
xf86config->conf_modules = configureModuleSection();
xf86config->conf_flags = configureFlagsSection();
xf86config->conf_videoadaptor_lst = NULL;