From a17bf05f5c64d08c7222eb1c7204725c19e57bb9 Mon Sep 17 00:00:00 2001 From: Garux Date: Sun, 7 Feb 2021 07:23:46 +0300 Subject: [PATCH] more information in "StrList overflow" error --- tools/quake3/q3map2/autopk3.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/quake3/q3map2/autopk3.cpp b/tools/quake3/q3map2/autopk3.cpp index 2066ea2d..539f151c 100644 --- a/tools/quake3/q3map2/autopk3.cpp +++ b/tools/quake3/q3map2/autopk3.cpp @@ -47,7 +47,7 @@ static inline StrList* StrList_allocate( size_t strNum ){ static inline void StrList_append( StrList* list, const char* string ){ if( list->n == list->max ) - Error( "StrList overflow" ); + Error( "StrList overflow on item = %s", string ); const size_t size = sizeof( list->s[0] ); if( strcpyQ( list->s[list->n], string, size ) >= size )