diff options
Diffstat (limited to 'coreengine/viewelementscommon.c')
| -rw-r--r-- | coreengine/viewelementscommon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coreengine/viewelementscommon.c b/coreengine/viewelementscommon.c index 4991870..a1067c2 100644 --- a/coreengine/viewelementscommon.c +++ b/coreengine/viewelementscommon.c @@ -326,7 +326,7 @@ bool cVeDevices::Parse(bool forced) { if (!device || !device->NumProvidedSystems()) { continue; } - tokenContainer->AddLoopToken(devicesIndex, i, (int)eDevicesLT::num, *cString::sprintf("%d", i)); + tokenContainer->AddLoopToken(devicesIndex, i, (int)eDevicesLT::num, *cString::sprintf("%d", i + 1)); tokenContainer->AddLoopToken(devicesIndex, i, (int)eDevicesLT::type, *(device->DeviceType())); cCamSlot *camSlot = device->CamSlot(); @@ -538,4 +538,4 @@ bool cVeVolume::Parse(bool forced) { changed = false; SetDirty(); return true; -}
\ No newline at end of file +} |
