Skip to content

Commit 1a508b6

Browse files
Update src/shared_gui_components/BuildingComponentDialogCentralWidget.cpp
Co-authored-by: Dan Macumber <dan.macumber@gmail.com>
1 parent 77398d3 commit 1a508b6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/shared_gui_components/BuildingComponentDialogCentralWidget.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,7 @@ std::vector<openstudio::BCLSearchResult> BuildingComponentDialogCentralWidget::f
185185
}
186186
responses.insert(responses.end(), pageResponses.begin(), pageResponses.end());
187187
totalPages = remoteBCL.numResultPages();
188-
currentPage++;
189-
} while (currentPage < totalPages);
188+
} while (++currentPage < totalPages);
190189

191190
// Sort responses alphabetically by name
192191
std::sort(responses.begin(), responses.end(), [](const BCLSearchResult& a, const BCLSearchResult& b) {

0 commit comments

Comments
 (0)