Skip to content

Commit 7a09227

Browse files
committed
Fixed 3 compilation errors
1 parent 23c6297 commit 7a09227

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Source/Source/Parser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ public bool Accept(RTFToken token , RTFReader reader )
142142
if ( token.Key == "emdash")
143143
{
144144
CheckBuffer();
145-
myStr.Append('—');
145+
myStr.Append("—"); // TODO: Check this literal
146146
return true;
147147
}
148148
if ( token.Key == "")

Source/Source/RTFNodeGroup.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -173,16 +173,16 @@ internal void MergeText()
173173
AddString( myStr , buffer );
174174
// notice!! This code may cause compiler error in OS which not support chinese character.
175175
// you can change to myStr.Append('-');
176-
myStr.Append( '¡ª');
177-
continue ;
176+
myStr.Append( "¡ª"); // TODO: Check this literal
177+
continue ;
178178
}
179179
if( node.Keyword == "" )
180180
{
181181
AddString( myStr , buffer );
182182
// notice!! This code may cause compiler error in OS which not support chinese character.
183183
// you can change to myStr.Append('-');
184-
myStr.Append( '¨C' );
185-
continue ;
184+
myStr.Append( "¨C" ); // TODO: Check this literal
185+
continue ;
186186
}
187187
}
188188
AddString( myStr , buffer );

0 commit comments

Comments
 (0)