summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainwindow.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainwindow.cc b/src/mainwindow.cc
index 3b407e8..9f2197a 100644
--- a/src/mainwindow.cc
+++ b/src/mainwindow.cc
@@ -272,7 +272,7 @@ void MainWindow::createGui()
this->num_history = (window_height -
((int)unit * BUTTON_HEIGHT + HISTORY_LIST_SPACING ) -
(2 * HISTORY_LIST_MARGIN)) / (h + HISTORY_LIST_SPACING);
- img_history = new (HistoryWidget*)[this->num_history];
+ img_history = new HistoryWidget*[this->num_history];
for(unsigned int i = 0; i < num_history; i++) {
img_history[i] = new HistoryWidget(gb);