From f9a8d808f0aeedda3f5847265960dd506d17a8be Mon Sep 17 00:00:00 2001 From: morkt Date: Tue, 29 Jul 2014 11:51:16 +0400 Subject: [PATCH] (Create): cosmetic changes. --- ArcFormats/ArcXP3.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ArcFormats/ArcXP3.cs b/ArcFormats/ArcXP3.cs index de67616d..97660436 100644 --- a/ArcFormats/ArcXP3.cs +++ b/ArcFormats/ArcXP3.cs @@ -324,9 +324,7 @@ NextEntry: public override void Create (Stream output, IEnumerable list, ResourceOptions options, EntryCallback callback) { - var xp3_options = options as Xp3Options; - if (null == xp3_options) - xp3_options = this.GetDefaultOptions() as Xp3Options; + var xp3_options = GetOptions (options); ICrypt scheme = xp3_options.Scheme; bool compress_index = xp3_options.CompressIndex;