[Xfce4-commits] [xfce/xfce4-settings] 01/01: Force using a period as a decimal separator in xfsettingsd (thanks Adel) (bug 11906)

noreply at xfce.org noreply at xfce.org
Sat Sep 1 02:20:42 CEST 2018


This is an automated email from the git hooks/post-receive script.

b   l   u   e   s   a   b   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/xfce4-settings.

commit 1f8480dd241164e6b0953f1065a304725371949c
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Fri Aug 31 20:20:33 2018 -0400

    Force using a period as a decimal separator in xfsettingsd (thanks Adel) (bug 11906)
---
 xfsettingsd/main.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/xfsettingsd/main.c b/xfsettingsd/main.c
index b12e127..a3a14fe 100644
--- a/xfsettingsd/main.c
+++ b/xfsettingsd/main.c
@@ -49,6 +49,8 @@
 #include <libxfce4util/libxfce4util.h>
 #include <libxfce4ui/libxfce4ui.h>
 
+#include <locale.h>
+
 #include "debug.h"
 #include "accessibility.h"
 #include "pointers.h"
@@ -282,6 +284,8 @@ main (gint argc, gchar **argv)
         return EXIT_FAILURE;
     }
 
+    setlocale(LC_NUMERIC,"C");
+
     /* Initialize our data set */
     memset (&s_data, 0, sizeof (struct t_data_set));
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list