mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
lib: Fix supported devices page title again
We need to call setlocale() so we run in UTF-8 mode, and can print that sweet sweet em dash.
This commit is contained in:
@@ -20,6 +20,7 @@
|
|||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <locale.h>
|
||||||
|
|
||||||
#include "fp_internal.h"
|
#include "fp_internal.h"
|
||||||
|
|
||||||
@@ -54,6 +55,8 @@ int main (int argc, char **argv)
|
|||||||
guint i;
|
guint i;
|
||||||
GList *list, *l;
|
GList *list, *l;
|
||||||
|
|
||||||
|
setlocale (LC_ALL, "");
|
||||||
|
|
||||||
driver_list = fprint_get_drivers ();
|
driver_list = fprint_get_drivers ();
|
||||||
|
|
||||||
printed = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);
|
printed = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);
|
||||||
|
|||||||
Reference in New Issue
Block a user