From e6b6f7bd7c7da9c0f8fb100613b40140911398d1 Mon Sep 17 00:00:00 2001 From: sr55 Date: Thu, 2 Jan 2014 21:15:56 +0000 Subject: WinGui: cleanup some warnings. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5952 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/CS/HandBrakeWPF/Startup/CastleBootstrapper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'win/CS/HandBrakeWPF/Startup') diff --git a/win/CS/HandBrakeWPF/Startup/CastleBootstrapper.cs b/win/CS/HandBrakeWPF/Startup/CastleBootstrapper.cs index 387a950ec..379fcec91 100644 --- a/win/CS/HandBrakeWPF/Startup/CastleBootstrapper.cs +++ b/win/CS/HandBrakeWPF/Startup/CastleBootstrapper.cs @@ -122,7 +122,7 @@ namespace HandBrakeWPF.Startup /// The Service Requested /// protected override object GetInstance(Type service, string key) - { + { return string.IsNullOrWhiteSpace(key) ? this.windsorContainer.Resolve(service) : this.windsorContainer.Resolve(key, new { }); } -- cgit v1.2.3