- minor fixes

This commit is contained in:
Glatzemann 2012-08-22 12:43:25 +00:00
parent 2af6bf45b5
commit 92ee886689
2 changed files with 6 additions and 4 deletions

View File

@ -55,7 +55,9 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Reference Include="Microsoft.Build" /> <Reference Include="Microsoft.Build" />
<Reference Include="nunit.framework, Version=2.6.0.12051, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL" /> <Reference Include="nunit.framework">
<HintPath>..\..\lib\NUnit-2.6.1\bin\nunit.framework.dll</HintPath>
</Reference>
<Reference Include="System" /> <Reference Include="System" />
<Reference Include="System.Xml.Linq" /> <Reference Include="System.Xml.Linq" />
<Reference Include="System.Drawing" /> <Reference Include="System.Drawing" />

View File

@ -124,11 +124,11 @@ namespace ANX.Tools.XNBInspector
int sizeOfdata = reader.ReadInt32(); int sizeOfdata = reader.ReadInt32();
reader.BaseStream.Seek(position, SeekOrigin.Begin); reader.BaseStream.Seek(position, SeekOrigin.Begin);
result.AppendFormat("Uncompressed : {0,10} ({1,10} bytes)", ToHumanSize(sizeOfdata), sizeOfdata);
result.AppendLine();
if (isCompressed) if (isCompressed)
{ {
result.AppendFormat("Uncompressed : {0,10} ({1,10} bytes)", ToHumanSize(sizeOfdata), sizeOfdata);
result.AppendLine();
input = ANX.Framework.Content.Decompressor.DecompressStream(reader, input, sizeOnDisk); input = ANX.Framework.Content.Decompressor.DecompressStream(reader, input, sizeOnDisk);
reader = new InspectReader(input); reader = new InspectReader(input);
} }