Project

General

Profile

Bug #5698 ยป fix-locale-breaks-javascript.patch

Jan Lindemann, 05/07/2017 03:10 PM

View differences:

src/Wt/WStringStream.C
#include <cstring>
#include <stdio.h>
#include <strings.h>
#ifndef NO_ASIO
#include <boost/asio.hpp>
......
{
char buf[50];
snprintf(buf, 50, "%g", d);
if (char *comma = index(buf, ','))
*comma = '.';
return *this << buf;
}
    (1-1/1)