KeyWorksRW / wxUiEditor

RAD tool used to create and maintain wxWidgets UI elements.
Apache License 2.0
62 stars 5 forks source link

Fix line endings when writing using pugixml #1428

Closed Randalphwa closed 4 months ago

Randalphwa commented 4 months ago

When I changed from calling pugixml::save_file() to pugixml::save_file_stream(), line endings on Windows were changed from LF to CRLF. The simple solution was to switch back to save_file() after updating it to accept a const std::string& instead of a const char*.

Closes #1422