From a7b11a7db1fac358a2e870876347e24584be9b57 Mon Sep 17 00:00:00 2001 From: Ray Date: Fri, 12 Apr 2019 22:15:37 +0100 Subject: [PATCH] Fixed: Zip file iteration bug --- 2019/02/Docxument.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/2019/02/Docxument.cs b/2019/02/Docxument.cs index f7fa698..44af90e 100644 --- a/2019/02/Docxument.cs +++ b/2019/02/Docxument.cs @@ -52,14 +52,14 @@ namespace HiImRay break; } - if (!readEntry.IsFile) + if (string.IsNullOrWhiteSpace(readEntry.Name)) { break; } - if (string.IsNullOrEmpty(readEntry.Name)) + if (!readEntry.IsFile) { - break; + continue; } // change document