summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordeva <deva>2005-11-16 12:08:19 +0000
committerdeva <deva>2005-11-16 12:08:19 +0000
commit42edda012a460e1bb69173f9c5a3c2bd55176149 (patch)
treeff62e39dee9416a48d081f1f7112b0f23cc9d8ad
parent32183390270df57a49d932b9fe51012146ce154f (diff)
*** empty log message ***
-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);