Переглянути джерело

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

master
MadBoy_cp 13 роки тому
джерело
коміт
b3946661dd
1 змінених файлів з 1 додано та 1 видалено
  1. 1
    1
      DocX/FormattedText.cs

+ 1
- 1
DocX/FormattedText.cs Переглянути файл

@@ -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;

Завантаження…
Відмінити
Зберегти