Parcourir la source

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

master
MadBoy_cp il y a 13 ans
Parent
révision
b3946661dd
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      DocX/FormattedText.cs

+ 1
- 1
DocX/FormattedText.cs Voir le fichier

@@ -19,7 +19,7 @@ namespace Novacode
public int CompareTo(object obj)
{
FormattedText other = (FormattedText)obj;
FormattedText tf = (FormattedText)obj;
FormattedText tf = this;
if (other.formatting == null || tf.formatting == null)
return -1;

Chargement…
Annuler
Enregistrer