Fix typo in variable name

This commit is contained in:
kimci86 2022-10-01 15:59:54 +02:00 committed by Chris Thrasher
parent 2db12350e7
commit b5be18cd8d

View File

@ -234,12 +234,12 @@ namespace
// If not mapped before, map it now
if (record == joystickList.end())
{
JoystickRecord nweRecord;
nweRecord.deviceNode = devnode;
nweRecord.systemPath = syspath;
nweRecord.plugged = true;
JoystickRecord newRecord;
newRecord.deviceNode = devnode;
newRecord.systemPath = syspath;
newRecord.plugged = true;
joystickList.push_back(nweRecord);
joystickList.push_back(newRecord);
}
}