mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-09 04:13:33 +02:00
all: Call setlocale() at the start of main()
This fixes some broken characters in the fprintd debug output.
This commit is contained in:
@ -136,6 +136,8 @@ int main(int argc, char **argv)
|
||||
DBusGProxy *driver_proxy;
|
||||
guint32 request_name_ret;
|
||||
|
||||
setlocale (LC_ALL, "");
|
||||
|
||||
bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
|
||||
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
|
||||
textdomain (GETTEXT_PACKAGE);
|
||||
|
||||
Reference in New Issue
Block a user