diff --git a/src/pluginlist.cpp b/src/pluginlist.cpp index b2442b379..752478d27 100644 --- a/src/pluginlist.cpp +++ b/src/pluginlist.cpp @@ -1099,7 +1099,7 @@ void PluginList::generatePluginIndexes() continue; } if (mediumPluginsSupported && m_ESPs[i].isMediumFlagged) { - int ESHpos = 253 + ((numESHs + 1) / 256); + int ESHpos = 253 + ((numESHs + 1) / 256); m_ESPs[i].index = QString("%1:%2") .arg(ESHpos, 2, 16, QChar('0')) .arg(numESHs % 256, 2, 16, QChar('0')) @@ -1107,7 +1107,7 @@ void PluginList::generatePluginIndexes() ++numESHs; } else if (lightPluginsSupported && - (m_ESPs[i].hasLightExtension || m_ESPs[i].isLightFlagged)) { + (m_ESPs[i].hasLightExtension || m_ESPs[i].isLightFlagged)) { int ESLpos = 254 + ((numESLs + 1) / 4096); m_ESPs[i].index = QString("%1:%2") .arg(ESLpos, 2, 16, QChar('0')) diff --git a/src/pluginlistview.cpp b/src/pluginlistview.cpp index 2262429a4..49fde4910 100644 --- a/src/pluginlistview.cpp +++ b/src/pluginlistview.cpp @@ -62,7 +62,7 @@ void PluginListView::updatePluginCount() int activeRegularCount = 0; int masterCount = 0; int lightMasterCount = 0; - int mediumCount = 0; + int mediumCount = 0; int regularCount = 0; int activeVisibleCount = 0;