From a3e021d637ee253f799299c846452591d28c1f76 Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Tue, 11 Jun 2024 14:34:50 +0200 Subject: [PATCH] VpkLib: fix typo in error message Should be chunk buffer, not block buffer; chunk is a part of a file (who's buffer is getting allocated here), block refers to the entire VPK data file. --- src/vpklib/packedstore.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vpklib/packedstore.cpp b/src/vpklib/packedstore.cpp index e4dbc923..331a9eab 100644 --- a/src/vpklib/packedstore.cpp +++ b/src/vpklib/packedstore.cpp @@ -464,7 +464,7 @@ void CPackedStoreBuilder::PackStore(const VPKPair_t& vpkPair, const char* worksp if (!pEntryBuffer) { - Error(eDLL_T::FS, NO_ERROR, "%s - Unable to allocate block buffer!\n", __FUNCTION__); + Error(eDLL_T::FS, NO_ERROR, "%s - Unable to allocate chunk buffer!\n", __FUNCTION__); return; } @@ -589,7 +589,7 @@ void CPackedStoreBuilder::UnpackStore(const VPKDir_t& vpkDir, const char* worksp if (!pDestBuffer || !pSourceBuffer) { - Error(eDLL_T::FS, NO_ERROR, "%s - Unable to allocate block buffer!\n", __FUNCTION__); + Error(eDLL_T::FS, NO_ERROR, "%s - Unable to allocate chunk buffer!\n", __FUNCTION__); return; }