summaryrefslogtreecommitdiff
path: root/Userland/Games/GameOfLife/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Games/GameOfLife/main.cpp')
-rw-r--r--Userland/Games/GameOfLife/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Games/GameOfLife/main.cpp b/Userland/Games/GameOfLife/main.cpp
index 9f0eb2ae74..040fae53b8 100644
--- a/Userland/Games/GameOfLife/main.cpp
+++ b/Userland/Games/GameOfLife/main.cpp
@@ -60,7 +60,7 @@ int main(int argc, char** argv)
auto size_changed_function = [&] {
statusbar.set_text(click_tip);
- board_widget.update_board(rows_spinbox.value(), columns_spinbox.value());
+ board_widget.resize_board(rows_spinbox.value(), columns_spinbox.value());
board_widget.randomize_cells();
board_widget.update();
};
@@ -159,7 +159,7 @@ int main(int argc, char** argv)
statusbar.set_text("Stalled...");
};
- board_widget.on_cell_toggled = [&](auto, auto) {
+ board_widget.on_cell_toggled = [&](auto, auto, auto) {
statusbar.set_text(click_tip);
};