mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2025-04-08 19:12:51 +00:00
fixed buffer size of the error message if path is longer than 4052
This commit is contained in:
parent
17fb1fd7c8
commit
f5356adf22
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ static bool LoadSteam( const char *pRootDir )
|
|||
s_SteamModule = Launcher_LoadModule(szPathBuffer);
|
||||
if ( !s_SteamModule )
|
||||
{
|
||||
char szErrorBuffer[4096];
|
||||
char szErrorBuffer[4140];
|
||||
_snprintf(szErrorBuffer, sizeof(szErrorBuffer), "Not able to load Steam API. Is %s missing?", szPathBuffer);
|
||||
szErrorBuffer[sizeof(szErrorBuffer) - 1] = '\0';
|
||||
|
||||
|
|
Loading…
Reference in a new issue