Skip to content
This repository has been archived by the owner on Oct 31, 2021. It is now read-only.

Commit

Permalink
Use Environment.NewLine instead of \n for StructuredFormat.Display.la…
Browse files Browse the repository at this point in the history
…yout_to_string()
  • Loading branch information
vpolozov committed Oct 11, 2012
1 parent a631ead commit 641e3a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FSharp.PowerPack/StructuredFormat.fs
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ namespace Microsoft.FSharp.Text.StructuredFormat
let extract rstrs = combine(List.rev rstrs)
let newLine (rstrs,_) n = // \n then spaces...
let indent = new System.String(' ', n)
let rstrs = push "\n" rstrs
let rstrs = push System.Environment.NewLine rstrs
let rstrs = push indent rstrs
rstrs,n

Expand Down

0 comments on commit 641e3a5

Please sign in to comment.