diff options
| author | Rob Mensching <rob@firegiant.com> | 2017-12-06 11:21:42 -0800 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2017-12-06 11:21:42 -0800 |
| commit | ca376995792d2e2a1a7f39760989496702a8f603 (patch) | |
| tree | d9d2f35647d8fe77a91a63740d0ad267c32547b2 /src/WixToolset.Data/SourceLineNumber.cs | |
| parent | 53e877183abe0dbbb623c39380101bc369e9f265 (diff) | |
| download | wix-ca376995792d2e2a1a7f39760989496702a8f603.tar.gz wix-ca376995792d2e2a1a7f39760989496702a8f603.tar.bz2 wix-ca376995792d2e2a1a7f39760989496702a8f603.zip | |
Fix handling of long values and baseUri in path fields
Diffstat (limited to 'src/WixToolset.Data/SourceLineNumber.cs')
| -rw-r--r-- | src/WixToolset.Data/SourceLineNumber.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WixToolset.Data/SourceLineNumber.cs b/src/WixToolset.Data/SourceLineNumber.cs index 742f6e9d..8ec65201 100644 --- a/src/WixToolset.Data/SourceLineNumber.cs +++ b/src/WixToolset.Data/SourceLineNumber.cs | |||
| @@ -146,7 +146,7 @@ namespace WixToolset.Data | |||
| 146 | } | 146 | } |
| 147 | 147 | ||
| 148 | // make the local path look like a normal local path | 148 | // make the local path look like a normal local path |
| 149 | string localPath = new Uri(uri).LocalPath; | 149 | var localPath = new Uri(uri).LocalPath; |
| 150 | localPath = localPath.TrimStart(Path.AltDirectorySeparatorChar).Replace(Path.AltDirectorySeparatorChar, Path.DirectorySeparatorChar); | 150 | localPath = localPath.TrimStart(Path.AltDirectorySeparatorChar).Replace(Path.AltDirectorySeparatorChar, Path.DirectorySeparatorChar); |
| 151 | 151 | ||
| 152 | return new SourceLineNumber(localPath); | 152 | return new SourceLineNumber(localPath); |
