From 2576998c8841c2d72d7d3fd9cb4f99aa1fbc2cd1 Mon Sep 17 00:00:00 2001 From: Zezula Ladislav Date: Thu, 17 Aug 2017 09:21:25 +0200 Subject: + Fixed bug in processing Huffmann compression --- test/StormTest.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test') diff --git a/test/StormTest.cpp b/test/StormTest.cpp index 16d8ba2..5dae52a 100644 --- a/test/StormTest.cpp +++ b/test/StormTest.cpp @@ -3583,6 +3583,8 @@ static int TestCreateArchive_NonStdNames(const char * szPlainName) AddFileToMpq(&Logger, hMpq, "\x10\x11\x12\x13\\\x14\x15\x16\x17\\\x18\x19\x1a\x1b\\\x1c\x1D\x1E\x1F.txt", "This is the file data 016.", MPQ_FILE_COMPRESS); AddFileToMpq(&Logger, hMpq, "\x09\x20\x09\x20\\\x20\x09\x20\x09\\\x09\x20\x09\x20\\\x20\x09\x20\x09.txt", "This is the file data 017.", MPQ_FILE_COMPRESS); AddFileToMpq(&Logger, hMpq, "\x80\x91\xA2\xB3\\\xC4\xD5\xE6\xF7\\\x80\x91\xA2\xB3.txt", "This is the file data 018.", MPQ_FILE_COMPRESS); + AddFileToMpq(&Logger, hMpq, "Dir1\x20\x09\x20\\Dir2\x20\x09\x20\\File.txt\x09\x09\x20\x2e", "This is the file data 019.", MPQ_FILE_COMPRESS); + AddFileToMpq(&Logger, hMpq, "Dir1\x20\x09\x20\\Dir2\x20\x09\x20\\\x09\x20\x2e\x09\x20\x2e", "This is the file data 020.", MPQ_FILE_COMPRESS); SFileCloseArchive(hMpq); } -- cgit v1.2.3