[Commits] [wesnoth/wesnoth] f6ec96: Fix command line arguments with spaces being broke...
GitHub
noreply at github.com
Thu Oct 26 21:51:42 UTC 2017
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: f6ec9658dd9df4e28a8093b7572179ad24e406cd
https://github.com/wesnoth/wesnoth/commit/f6ec9658dd9df4e28a8093b7572179ad24e406cd
Author: Charles Dang <exodia339 at gmail.com>
Date: 2017-10-27 (Fri, 27 Oct 2017)
Changed paths:
M src/wesnoth.cpp
Log Message:
-----------
Fix command line arguments with spaces being broken on Windows
This was a regression from 8d2ae80b32a2c. Since quotes got stripped from cl arguments when they were parsed,
and since the utils::join call expected a space as a delimiter, the arguments would get put together incorrectly.
One possible fix would have been to wrap every argument in quotes, but that could potentially some issues for
certain non-quoted arguments. Instead, we just take the original command line output from the console.
More information about the Commits
mailing list