summaryrefslogtreecommitdiff
path: root/src/tafwriter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tafwriter.cpp')
-rw-r--r--src/tafwriter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tafwriter.cpp b/src/tafwriter.cpp
index 8dcde86..c30bc67 100644
--- a/src/tafwriter.cpp
+++ b/src/tafwriter.cpp
@@ -97,6 +97,8 @@ void Bu::TafWriter::writeString( const Bu::FString &str )
97 { 97 {
98 if( *s == '\"' ) 98 if( *s == '\"' )
99 sOut.write("\\\"", 2 ); 99 sOut.write("\\\"", 2 );
100 else if( *s == '\\' )
101 sOut.write("\\\\", 2 );
100 else 102 else
101 sOut.write( s, 1 ); 103 sOut.write( s, 1 );
102 } 104 }