diff options
Diffstat (limited to 'src/WixToolset.Core')
-rw-r--r-- | src/WixToolset.Core/Resolver.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WixToolset.Core/Resolver.cs b/src/WixToolset.Core/Resolver.cs index 03cf344b..14b5d0cf 100644 --- a/src/WixToolset.Core/Resolver.cs +++ b/src/WixToolset.Core/Resolver.cs | |||
@@ -232,7 +232,6 @@ namespace WixToolset.Core | |||
232 | 232 | ||
233 | var localizations = context.Localizations.Concat(context.IntermediateRepresentation.Localizations).ToList(); | 233 | var localizations = context.Localizations.Concat(context.IntermediateRepresentation.Localizations).ToList(); |
234 | 234 | ||
235 | // If there still is no filter, return all localizations. | ||
236 | AddFilteredLocalizations(result, filter, localizations); | 235 | AddFilteredLocalizations(result, filter, localizations); |
237 | 236 | ||
238 | // Filter localizations provided by extensions with data. | 237 | // Filter localizations provided by extensions with data. |
@@ -270,6 +269,7 @@ namespace WixToolset.Core | |||
270 | 269 | ||
271 | private static void AddFilteredLocalizations(List<Localization> result, IEnumerable<string> filter, IEnumerable<Localization> localizations) | 270 | private static void AddFilteredLocalizations(List<Localization> result, IEnumerable<string> filter, IEnumerable<Localization> localizations) |
272 | { | 271 | { |
272 | // If there is no filter, return all localizations. | ||
273 | if (!filter.Any()) | 273 | if (!filter.Any()) |
274 | { | 274 | { |
275 | result.AddRange(localizations); | 275 | result.AddRange(localizations); |