Skip to content

Commit

Permalink
minor refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
MehdiK committed Apr 25, 2014
1 parent a24ceab commit 5ca0038
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Humanizer/Configuration/LocaliserRegistry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public T ResolveForUiCulture()
/// </summary>
public void Register(Func<T> localiser, CultureInfo culture = null)
{
var lazyLocaliser = new Lazy<T>(localiser);
var lazyLocaliser = MakeLazy(localiser);

if (culture == null)
_defaultLocaliser = lazyLocaliser;
Expand Down

0 comments on commit 5ca0038

Please sign in to comment.