git-svn-id: https://svn.osgeo.org/grass/grass/trunk@32078 15284696-431f-4ddb-bdfa-cd5b030d7da7
@@ -16,8 +16,6 @@
\date 2008
*/
-#include <clocale>
-
#include "nviz.h"
static void swap_gl();
@@ -27,8 +25,6 @@ static void swap_gl();
Nviz::Nviz()
{
- setlocale(LC_NUMERIC, "C");
G_gisinit(""); /* GRASS functions */
G_set_verbose(0); // TODO: read progress info
@@ -14,8 +14,6 @@
#include "driver.h"
#include "digit.h"
@@ -26,8 +24,6 @@
Digit::Digit(DisplayDriver *ddriver)
display = ddriver;
if (display->mapInfo) {
@@ -17,7 +17,6 @@
#include <cmath>
@@ -32,8 +31,6 @@
DisplayDriver::DisplayDriver(void *device)
mapInfo = NULL;
@@ -16,6 +16,8 @@
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
+#include <locale.h>
+
#include <grass/gis.h>
#include "G.h"
#include <grass/glocale.h>
@@ -140,5 +142,7 @@ static int gisinit(void)
initialized = 1;
+ setlocale(LC_NUMERIC, "C");
return 0;
}