Changeset 32078


Ignore:
Timestamp:
Jul 11, 2008, 10:06:19 AM (16 years ago)
Author:
martinl
Message:

setlocate(LC_NUMERIC, "C") moved to gisinit()

Location:
grass/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • grass/trunk/gui/wxpython/nviz/init.cpp

    r32063 r32078  
    1717*/
    1818
    19 #include <clocale>
    20 
    2119#include "nviz.h"
    2220
     
    2826Nviz::Nviz()
    2927{
    30     setlocale(LC_NUMERIC, "C");
    31 
    3228    G_gisinit(""); /* GRASS functions */
    3329
  • grass/trunk/gui/wxpython/vdigit/digit.cpp

    r32076 r32078  
    1515*/
    1616
    17 #include <clocale>
    18 
    1917#include "driver.h"
    2018#include "digit.h"
     
    2725Digit::Digit(DisplayDriver *ddriver)
    2826{
    29     setlocale(LC_NUMERIC, "C");
    30 
    3127    display = ddriver;
    3228
  • grass/trunk/gui/wxpython/vdigit/driver.cpp

    r32076 r32078  
    1818
    1919#include <cmath>
    20 #include <clocale>
    2120
    2221#include "driver.h"
     
    3332DisplayDriver::DisplayDriver(void *device)
    3433{
    35     setlocale(LC_NUMERIC, "C");
    36 
    3734    G_gisinit(""); /* GRASS functions */
    3835
  • grass/trunk/lib/gis/gisinit.c

    r31628 r32078  
    1717#include <string.h>
    1818#include <sys/stat.h>
     19#include <locale.h>
     20
    1921#include <grass/gis.h>
    2022#include "G.h"
     
    141143    initialized = 1;
    142144
     145    setlocale(LC_NUMERIC, "C");
     146
    143147    return 0;
    144148}
Note: See TracChangeset for help on using the changeset viewer.