diff --git a/Posh.types.ps1xml b/Posh.types.ps1xml index e3f28b4..50d5a5d 100644 --- a/Posh.types.ps1xml +++ b/Posh.types.ps1xml @@ -1675,7 +1675,7 @@ if ($theLine.Length -lt 5) { } } else { # Otherwise, pick one left of the middle in the line - $theLine[[Math]::Floor($theLine.Length / 2) - 1] + $theLine.Substring(([Math]::Floor($theLine.Length / 2) - 1), 1) } @@ -1727,7 +1727,7 @@ if ($theseLines.Length -eq 1 -and $theseLines[0].Length -lt 5) { $theseLines[0].Substring(0,1) } else { $theLine = $theseLines[[Math]::Floor($theseLines.Length/2)] - $theLine[[Math]::Floor($theLine.Length / 2)] + $theLine.Substring(([Math]::Floor($theLine.Length / 2)), 1) } @@ -1896,7 +1896,7 @@ if ($theLine.Length -lt 5) { } } else { # Otherwise, pick one left of the middle in the line - $theLine[[Math]::Floor($theLine.Length / 2) - 1] + $theLine.Substring(([Math]::Floor($theLine.Length / 2) - 1), 1) }