Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > d173429cea82861b76996318f0606f36 > files > 4

yudit-2.7.2-1mdk.src.rpm

File: yudit-2.7.2.patch2.txt
Emergency: medium
Usage: patch -p0 < yudit-2.7.2.patch2.txt
From: Gaspar Sinai <gsinai@yudit.org>
Date: Tokyo 2002-12-16

This pacth fixes a problem that occurs when MAC lineformat is 
delected. Without the patch MAC lines might be converted to 
Unix lines. As a workaround, if you need MAC lineending you should 
go to the beginnig of the file and page down till
all lines have been seen. 

If you do not deal with MAC files you do not need this patch.
MAC lineending is '\r'.
*** yudit-2.7.2/stoolkit/SParagraph.cpp-	Mon Dec 16 14:00:11 2002
--- yudit-2.7.2/stoolkit/SParagraph.cpp	Mon Dec 16 14:01:53 2002
***************
*** 102,106 ****
      case SD_CD_LF:
        ucs4Glyphs.append (buffer[i++]);
!       paraSep = SS_PS_CR;
        eol = true;
        break;
--- 102,106 ----
      case SD_CD_LF:
        ucs4Glyphs.append (buffer[i++]);
!       paraSep = SS_PS_LF;
        eol = true;
        break;