From b219720cc03c9be6cb7799de0f993a0611eefaf6 Mon Sep 17 00:00:00 2001 From: James Jackson-South Date: Mon, 30 May 2016 23:45:28 +1000 Subject: [PATCH] Cleanup Former-commit-id: ed980bd750b45ed759308802a6399e57938d5ae7 Former-commit-id: 3b4e50014b848f567d3fcee12447b7707e87894a Former-commit-id: 16d5fd8f84e1c9e2ae9705706b8d535fc3d03681 --- src/ImageProcessorCore/Formats/Gif/LzwDecoder.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ImageProcessorCore/Formats/Gif/LzwDecoder.cs b/src/ImageProcessorCore/Formats/Gif/LzwDecoder.cs index 5d7917292..75d590673 100644 --- a/src/ImageProcessorCore/Formats/Gif/LzwDecoder.cs +++ b/src/ImageProcessorCore/Formats/Gif/LzwDecoder.cs @@ -100,7 +100,7 @@ namespace ImageProcessorCore.Formats { if (bits < codeSize) { - // Load bytes until there are enough bits for a code. + // Load bytes until there are enough bits for a code. if (count == 0) { // Read a new data block. @@ -130,7 +130,7 @@ namespace ImageProcessorCore.Formats data >>= codeSize; bits -= codeSize; - // Interpret the code + // Interpret the code if (code > availableCode || code == endCode) { break; @@ -148,7 +148,7 @@ namespace ImageProcessorCore.Formats if (oldCode == NullCode) { - pixelStatck[top++] = suffix[code]; // »ñÈ¡µ½1¸öÊý¾ÝÁ÷µÄÊý¾Ý + pixelStatck[top++] = suffix[code]; oldCode = code; first = code; continue; @@ -189,7 +189,7 @@ namespace ImageProcessorCore.Formats oldCode = inCode; } - // Pop a pixel off the pixel stack. + // Pop a pixel off the pixel stack. top--; // Clear missing pixels