Fix YAML indentation in history.

This commit is contained in:
Konrad Borowski 2014-09-28 15:03:55 +02:00
parent 26051ea198
commit 84af3dcd18

View File

@ -276,11 +276,11 @@ static void append_yaml_to_buffer(const wcstring &wcmd, time_t timestamp, const
char timestamp_str[96];
snprintf(timestamp_str, sizeof timestamp_str, "%ld", (long) timestamp);
buffer->append(" when: ", timestamp_str, "\n");
buffer->append(" when: ", timestamp_str, "\n");
if (! required_paths.empty())
{
buffer->append(" paths:\n");
buffer->append(" paths:\n");
for (path_list_t::const_iterator iter = required_paths.begin(); iter != required_paths.end(); ++iter)
{