Fix a small typo in DBC handler - Thanks to dimavs on github.
This commit is contained in:
+1
-1
@@ -431,7 +431,7 @@ void DBCFile::loadFile(QString fileName)
|
|||||||
sig.unitName = match.captured(10 + offset);
|
sig.unitName = match.captured(10 + offset);
|
||||||
if (match.captured(11 + offset).contains(','))
|
if (match.captured(11 + offset).contains(','))
|
||||||
{
|
{
|
||||||
QString tmp = match.captured(11).split(',')[0];
|
QString tmp = match.captured(11 + offset).split(',')[0];
|
||||||
sig.receiver = findNodeByName(tmp);
|
sig.receiver = findNodeByName(tmp);
|
||||||
}
|
}
|
||||||
else sig.receiver = findNodeByName(match.captured(11 + offset));
|
else sig.receiver = findNodeByName(match.captured(11 + offset));
|
||||||
|
|||||||
Reference in New Issue
Block a user