void FontsRestoreDefaults(void) { FontsDestroy(); FontsCreate(True); MainChangeFont(); ModuleEvent(EVENT_FONTCHANGED, -1, NULL); }
/* * LoadSettings: Load all user's settings from INI file. */ void LoadSettings(void) { FontsCreate(False); ColorsCreate(False); CommLoadSettings(); ConfigLoad(); LoadProfaneTerms(); // Restore defaults if they've changed from previous version if (config.ini_version != INI_VERSION) { ColorsRestoreDefaults(); FontsRestoreDefaults(); config.ini_version = INI_VERSION; } }