From 8640e34c27fdcedadcbd94fc80b4657008b7781b Mon Sep 17 00:00:00 2001 From: morkt Date: Fri, 15 May 2015 17:51:23 +0400 Subject: [PATCH] renamed local var. --- ArcFormats/ArcAil.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ArcFormats/ArcAil.cs b/ArcFormats/ArcAil.cs index 3767f350..a6d66fc0 100644 --- a/ArcFormats/ArcAil.cs +++ b/ArcFormats/ArcAil.cs @@ -77,7 +77,7 @@ namespace GameRes.Formats.Ail } if (offset != file.MaxOffset || 0 == dir.Count) return null; - byte[] data_buf = new byte[16]; + byte[] preview = new byte[16]; byte[] sign_buf = new byte[4]; foreach (var entry in dir.Cast()) { @@ -94,8 +94,8 @@ namespace GameRes.Formats.Ail entry.Size -= extra; if (entry.IsPacked) { - file.View.Read (entry.Offset, data_buf, 0, (uint)data_buf.Length); - using (var input = new MemoryStream (data_buf)) + file.View.Read (entry.Offset, preview, 0, (uint)preview.Length); + using (var input = new MemoryStream (preview)) { LzssUnpack (input, sign_buf); uint signature = LittleEndian.ToUInt32 (sign_buf, 0);