diff options
| -rw-r--r-- | src/subtitle_content.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/subtitle_content.cc b/src/subtitle_content.cc index 12ed2afc..4f83d5bd 100644 --- a/src/subtitle_content.cc +++ b/src/subtitle_content.cc @@ -240,7 +240,7 @@ SubtitleContent::write_xml (boost::filesystem::path p) const } Glib::ustring const s = xml_as_string (); - fwrite (s.c_str(), 1, s.length(), f); + fwrite (s.c_str(), 1, s.bytes(), f); fclose (f); _file = p; |
