diff options
author | sr55 <[email protected]> | 2012-07-23 14:22:23 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2012-07-23 14:22:23 +0000 |
commit | daafb500d527e3e5d1a1790bba6dd287c28eedbb (patch) | |
tree | e14a14a658efa7678a85b11bb937ce47eaeaabdf /win/CS/HandBrake.ApplicationServices/Parsing | |
parent | 503082e5fe7f302dfde51304e53dd68951fcfdb9 (diff) |
WinGui: Fix a possible crash after scanning a source.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4871 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Parsing')
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Parsing/Title.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Parsing/Title.cs b/win/CS/HandBrake.ApplicationServices/Parsing/Title.cs index 454627fa9..a77b84306 100644 --- a/win/CS/HandBrake.ApplicationServices/Parsing/Title.cs +++ b/win/CS/HandBrake.ApplicationServices/Parsing/Title.cs @@ -266,7 +266,7 @@ namespace HandBrake.ApplicationServices.Parsing /// <returns>A string representing this track in the format: {title #} (00:00:00)</returns>
public override string ToString()
{
- if (!string.IsNullOrEmpty(this.Playlist))
+ if (!string.IsNullOrEmpty(this.Playlist) && !this.Playlist.StartsWith(" "))
{
this.Playlist = string.Format(" {0}", this.Playlist);
}
|