/*
- * "$Id: language.c,v 1.20.2.19 2003/05/15 15:55:36 mike Exp $"
+ * "$Id: language.c,v 1.20.2.20 2003/05/15 20:00:52 mike Exp $"
*
* I18N/language support for the Common UNIX Printing System (CUPS).
*
}
}
+ /*
+ * Restore the locale...
+ */
+
+#if defined(__APPLE__) || !defined(LC_CTYPE)
+ setlocale(LC_ALL, oldlocale);
+#else
+ setlocale(LC_CTYPE, oldlocale);
+#endif /* __APPLE__ || !LC_CTYPE */
+
/*
* Figure out the desired encoding...
*/
strcpy(real, langname);
}
- /*
- * Restore the locale...
- */
-
-#if defined(__APPLE__) || !defined(LC_CTYPE)
- setlocale(LC_ALL, oldlocale);
-#else
- setlocale(LC_CTYPE, oldlocale);
-#endif /* __APPLE__ || !LC_CTYPE */
-
/*
* Open the messages file; the first line contains the default
* language encoding (us-ascii, iso-8859-1, etc.), and the rest are
/*
- * End of "$Id: language.c,v 1.20.2.19 2003/05/15 15:55:36 mike Exp $".
+ * End of "$Id: language.c,v 1.20.2.20 2003/05/15 20:00:52 mike Exp $".
*/