mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-26 06:20:48 +00:00
Corrected silly string concatenation
This commit is contained in:
parent
db0e643419
commit
45d8228dff
1 changed files with 1 additions and 1 deletions
|
@ -1285,7 +1285,7 @@ IN_Init(void)
|
|||
{
|
||||
for (const char* rawPath = FS_GetNextRawPath(NULL); rawPath != NULL; rawPath = FS_GetNextRawPath(rawPath))
|
||||
{
|
||||
snprintf(controllerdb, MAX_OSPATH, "%s/%s", rawPath, "gamecontrollerdb.txt");
|
||||
snprintf(controllerdb, MAX_OSPATH, "%s/gamecontrollerdb.txt", rawPath);
|
||||
nummappings = SDL_GameControllerAddMappingsFromFile(controllerdb);
|
||||
if (nummappings > 0)
|
||||
Com_Printf ("%d mappings loaded from gamecontrollerdb.txt\n", nummappings);
|
||||
|
|
Loading…
Reference in a new issue