From 11a444e914820bd8dc9a0f2e87e2585137af713b Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Wed, 3 Apr 2013 13:30:45 -0700 Subject: [PATCH] Replace a formatted string with just a character copy --- builtin_printf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin_printf.cpp b/builtin_printf.cpp index c61a4e07f..75bd153e6 100644 --- a/builtin_printf.cpp +++ b/builtin_printf.cpp @@ -396,7 +396,7 @@ void builtin_printf_state_t::print_esc_string(const wchar_t *str) if (*str == L'\\') str += print_esc(str, true); else - this->append_format_output(L"%lc", *str); + this->append_output(*str); } /* Evaluate a printf conversion specification. START is the start of