Skip to content

Commit bd042da

Browse files
Indent
1 parent 98fb22b commit bd042da

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/ocamlutil/pretty.ml

+4-4
Original file line numberDiff line numberDiff line change
@@ -79,19 +79,19 @@ let breakString s =
7979
let j = ref (String.length s) in
8080
for i = String.length s - 1 downto 0 do
8181
if String.unsafe_get s i = '\n' then begin
82-
let text = (String.sub s (i + 1) (!j - i - 1)) in
82+
let text = Text (String.sub s (i + 1) (!j - i - 1)) in
8383
(if !r = Nil then
84-
r := Concat(Line,Text text)
84+
r := Concat(Line, text)
8585
else
86-
r := Concat(Line, Concat(Text text, !r)));
86+
r := Concat(Line, Concat(text, !r)));
8787
j := i
8888
end
8989
done;
9090
let text = String.sub s 0 !j in
9191
if !r = Nil then
9292
Text text
9393
else
94-
Concat(Text text,!r)
94+
Concat(Text text, !r)
9595

9696

9797
let nil = Nil

0 commit comments

Comments
 (0)