From 16cf40235209d4e736c549e007630f545c9211f3 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Sun, 26 Jun 2005 10:37:38 +0000 Subject: [PATCH] Don't strip white spaces inside ... , but strip the outer white spaces around a complete entry. --- src/input/r_usf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input/r_usf.cpp b/src/input/r_usf.cpp index 7aa2d45c0..a1a54bfcd 100644 --- a/src/input/r_usf.cpp +++ b/src/input/r_usf.cpp @@ -236,7 +236,6 @@ usf_reader_c::start_cb(const char *name, entry.m_end = entry.m_start + duration; m_copy_buffer = ""; m_copy_depth = 1; - m_strip = true; m_tracks[m_tracks.size() - 1].m_entries.push_back(entry); @@ -283,6 +282,7 @@ usf_reader_c::end_cb(const char *name) { usf_track_t &track = m_tracks[m_tracks.size() - 1]; m_copy_buffer.erase(m_copy_buffer.length() - 11); + strip(m_copy_buffer); track.m_entries[track.m_entries.size() - 1].m_text = m_copy_buffer; } else