diff --git a/src/common/xml_element_writer.cpp b/src/common/xml_element_writer.cpp index 260eb3499..d5a7078f6 100644 --- a/src/common/xml_element_writer.cpp +++ b/src/common/xml_element_writer.cpp @@ -233,7 +233,7 @@ xml_formatter_c::write_header() { throw xml_formatter_error_c("The header has already been written."); #if defined(SYS_WINDOWS) - m_out->use_dos_style_newlines(yes); + m_out->use_dos_style_newlines(true); #endif m_out->write_bom(m_encoding); m_out->printf("\n",