Skip to content

Commit 51e5838

Browse files
committed
typo
1 parent c72d681 commit 51e5838

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hyprscrolling/Scrolling.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -937,7 +937,7 @@ std::any CScrollingLayout::layoutMessage(SLayoutMessageHeader header, std::strin
937937

938938
return {};
939939
} else if (ARGS[1] == "-conf") {
940-
for (size_t i = m_config.configuredWidths.size(); i--;) {
940+
for (size_t i = m_config.configuredWidths.size() - 1; i--;) {
941941
if (m_config.configuredWidths[i] < WDATA->column->columnWidth) {
942942
WDATA->column->columnWidth = m_config.configuredWidths[i];
943943
break;

0 commit comments

Comments
 (0)