lace.text.forge: Remove unneeded handling of <CR> line terminators.
This commit is contained in:
@@ -26,12 +26,7 @@ is
|
|||||||
use ada.Characters;
|
use ada.Characters;
|
||||||
Line : constant String := get_Line (the_File);
|
Line : constant String := get_Line (the_File);
|
||||||
begin
|
begin
|
||||||
if Line (Line'Last) = latin_1.CR
|
append (Pad, Line & latin_1.LF);
|
||||||
then
|
|
||||||
append (Pad, Line (Line'First .. Line'Last - 1) & latin_1.LF);
|
|
||||||
else
|
|
||||||
append (Pad, Line & latin_1.LF);
|
|
||||||
end if;
|
|
||||||
end;
|
end;
|
||||||
end loop;
|
end loop;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user