Skip to content

Commit 4998293

Browse files
author
Ladislav Zezula
committed
Fixed typos
1 parent 5dafc4c commit 4998293

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

src/CascCommon.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ struct TCascStorage
313313
LPTSTR szCdnPath; // Remote CDN sub path for the product
314314
LPSTR szRegion; // Product region. Only when "versions" is used as storage root file
315315
LPSTR szBuildKey; // Product build key, aka MD5 of the build file
316-
DWORD dwDefaultLocale; // Mask of installed localles
316+
DWORD dwDefaultLocale; // Mask of installed locales
317317
DWORD dwBuildNumber; // Product build number
318318
DWORD dwRefCount; // Number of references
319319
DWORD dwFeatures; // List of CASC features. See CASC_FEATURE_XXX
@@ -353,7 +353,7 @@ struct TCascStorage
353353
size_t TotalFiles; // Total number of files in the storage, some may not be present locally
354354
size_t EKeyEntries; // Number of CKeyEntry-ies loaded from text build file
355355
size_t EKeyLength; // EKey length from the index files
356-
DWORD FileOffsetBits; // Number of bits in the storage offset which mean data segent offset
356+
DWORD FileOffsetBits; // Number of bits in the storage offset which mean data segment offset
357357

358358
CASC_KEY_MAP KeyMap; // Growable map of encryption keys
359359
ULONGLONG LastFailKeyName; // The value of the encryption key that recently was NOT found.
@@ -394,7 +394,7 @@ struct TCascFile
394394
DWORD bDownloadFileIf:1; // If true, then the data will be downloaded from the online storage if missing
395395
DWORD bCloseFileStream:1; // If true, file stream needs to be closed during CascCloseFile
396396
DWORD bOvercomeEncrypted:1; // If true, then CascReadFile will fill the part that is encrypted (and key was not found) with zeros
397-
DWORD bFreeCKeyEntries:1; // If true, dectructor will free the array of CKey entries
397+
DWORD bFreeCKeyEntries:1; // If true, destructor will free the array of CKey entries
398398

399399
ULONGLONG FileCacheStart; // Starting offset of the file cached area
400400
ULONGLONG FileCacheEnd; // Ending offset of the file cached area

src/CascLib.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ extern "C" {
2828
#endif
2929

3030
//-----------------------------------------------------------------------------
31-
// Use the apropriate library
31+
// Use the appropriate library
3232
//
3333
// The library type is encoded in the library name as the following
3434
// CascLibXYZ.lib

src/CascOpenFile.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ bool OpenFileByCKeyEntry(TCascStorage * hs, PCASC_CKEY_ENTRY pCKeyEntry, DWORD d
193193
TCascFile * hf = NULL;
194194
DWORD dwErrCode = ERROR_FILE_NOT_FOUND;
195195

196-
// If the CKey entry is NULL, we consider the file non-existant
196+
// If the CKey entry is NULL, we consider the file non-existent
197197
if(pCKeyEntry != NULL)
198198
{
199199
// Create the file handle structure

src/CascRootFile_TVFS.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
#define TVFS_FOLDER_SIZE_MASK 0x7FFFFFFF // Mask to get length of the folder
3030

3131
// Uncomment this to parse TVFS root files for World of Warcraft
32-
// Note that this is signigicantly slower than using the legacy ROOT file
32+
// Note that this is significantly slower than using the legacy ROOT file
3333
//#define TVFS_PARSE_WOW_ROOT
3434

3535
//-----------------------------------------------------------------------------

test/CascTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,7 @@ static DWORD Storage_SeekFiles(TLogHelper & LogHelper, TEST_PARAMS & Params)
718718
// Compare the loaded data blocks
719719
if(memcmp(Buffer, Buffer2, Length))
720720
{
721-
LogHelper.PrintMessage("Error: Data mismatchat offset %llX, length %u.", ByteOffset, Length);
721+
LogHelper.PrintMessage("Error: Data mismatch at offset %llX, length %u.", ByteOffset, Length);
722722
dwErrCode = GetCascError();
723723
break;
724724
}

0 commit comments

Comments
 (0)