mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-04-25 16:35:42 -04:00
dep/reshadefx: Fix float printing regression
This commit is contained in:
parent
8c9a885032
commit
534a82d091
@ -9,7 +9,6 @@
|
||||
#include <cstdio> // snprintf
|
||||
#include <cassert>
|
||||
#include <algorithm> // std::find_if, std::max
|
||||
#include <iomanip>
|
||||
#include <locale>
|
||||
#include <sstream>
|
||||
#include <unordered_set>
|
||||
@ -366,7 +365,7 @@ private:
|
||||
{
|
||||
std::ostringstream ss;
|
||||
ss.imbue(std::locale::classic());
|
||||
ss << std::fixed << data.as_float[i];
|
||||
ss << data.as_float[i];
|
||||
s += ss.str();
|
||||
}
|
||||
break;
|
||||
|
@ -11,7 +11,6 @@
|
||||
#include <cassert>
|
||||
#include <cstring> // stricmp
|
||||
#include <algorithm> // std::find_if, std::max
|
||||
#include <iomanip>
|
||||
#include <locale>
|
||||
#include <sstream>
|
||||
|
||||
@ -345,7 +344,7 @@ private:
|
||||
{
|
||||
std::ostringstream ss;
|
||||
ss.imbue(std::locale::classic());
|
||||
ss << std::fixed << data.as_float[i];
|
||||
ss << data.as_float[i];
|
||||
s += ss.str();
|
||||
}
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user