summaryrefslogtreecommitdiffstats
path: root/base/command_line.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/command_line.cc')
-rw-r--r--base/command_line.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/command_line.cc b/base/command_line.cc
index 21c7470..4346268 100644
--- a/base/command_line.cc
+++ b/base/command_line.cc
@@ -308,7 +308,7 @@ void CommandLine::AppendSwitchWithValue(wstring* command_line_string,
(value_string[0] != L'"') &&
(value_string[value_string.length() - 1] != L'"')) {
// need to provide quotes
- StringAppendF(command_line_string, L"\"%s\"", value_string.c_str());
+ StringAppendF(command_line_string, L"\"%ls\"", value_string.c_str());
} else {
command_line_string->append(value_string);
}