Skip to content

Commit

Permalink
Formatting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Silarn committed Jun 11, 2024
1 parent 6f69951 commit 00fb6a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/pluginlist.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1099,15 +1099,15 @@ 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'))
.toUpper();
++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'))
Expand Down
2 changes: 1 addition & 1 deletion src/pluginlistview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 00fb6a8

Please sign in to comment.