Browse Source

Fixed MagicText (differented formats were not returned properly, because FormattedText was always compared to itself). Fix provided by Carko

master
MadBoy_cp 13 years ago
parent
commit
b3946661dd
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      DocX/FormattedText.cs

+ 1
- 1
DocX/FormattedText.cs View File

public int CompareTo(object obj) public int CompareTo(object obj)
{ {
FormattedText other = (FormattedText)obj; FormattedText other = (FormattedText)obj;
FormattedText tf = (FormattedText)obj;
FormattedText tf = this;
if (other.formatting == null || tf.formatting == null) if (other.formatting == null || tf.formatting == null)
return -1; return -1;

Loading…
Cancel
Save