aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/builtin_printf.cpp
diff options
context:
space:
mode:
authorGravatar Aaron Gyes <me@aaron.gy>2016-06-12 11:34:35 -0700
committerGravatar Aaron Gyes <me@aaron.gy>2016-06-12 11:34:35 -0700
commit1499ade89cb4b186c8ab7040ac7ef86b1292c0f8 (patch)
tree86569561ed52bf6e7a3dd65c6c8c6fb41d7732ad /src/builtin_printf.cpp
parent0310d3bd8c9fdf8483469b9e98a50c3effafb783 (diff)
Restyle touched .cpp files
Diffstat (limited to 'src/builtin_printf.cpp')
-rw-r--r--src/builtin_printf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/builtin_printf.cpp b/src/builtin_printf.cpp
index d81ab453..d3d971ac 100644
--- a/src/builtin_printf.cpp
+++ b/src/builtin_printf.cpp
@@ -267,7 +267,7 @@ template <>
long double raw_string_to_scalar_type(const wchar_t *s, wchar_t **end) {
// Forcing the locale to C is questionable but it's what the old C_STRTOD() that I inlined here
// as part of changing how locale management is done by fish.
- char * old_locale = setlocale(LC_NUMERIC, "C");
+ char *old_locale = setlocale(LC_NUMERIC, "C");
double val = wcstod(s, end);
setlocale(LC_NUMERIC, old_locale);
return val;