2 Copyright © 1995-2011, The AROS Development Team. All rights reserved.
9 /*********************************************************************************************/
14 #include <aros/debug.h>
16 /*********************************************************************************************/
18 void LocalePrefs_Handler(STRPTR filename
)
20 struct Locale
*newloc
/*, *oldloc */;
22 D(bug("In IPrefs:LocalePrefs_Handler\n"));
24 if ((newloc
= OpenLocale(filename
)))
26 D(bug("In IPrefs:LocalePrefs_Handler. OpenLocale(\"%s\") okay\n", filename
));
27 /* oldloc = */ LocalePrefsUpdate(newloc
);
28 D(bug("In IPrefs:LocalePrefs_Handler. New Locale installed\n", filename
));
30 /* Never close old locale */
32 /* if (oldloc) CloseLocale(oldloc); */
35 D(bug("In IPrefs:LocalePrefs_Handler. Done.\n", filename
));
38 /*********************************************************************************************/