use m4_normalize on the output strings to remove trailing spaces/tabs and consolidate...
[AROS.git] / workbench / c / iprefs / localeprefs.c
bloba90ec03f55e0b22097f35ca2646de22110c625ad
1 /*
2 Copyright © 1995-2011, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 Lang: English
7 */
9 /*********************************************************************************************/
11 #include "global.h"
13 #define DEBUG 0
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 /*********************************************************************************************/