From 74d1db9684ea6bd4f067f284a246368e3d5d3d0f Mon Sep 17 00:00:00 2001 From: dborth Date: Tue, 4 Aug 2009 04:31:21 +0000 Subject: [PATCH] --- source/ngc/gui/gui.h | 2 +- source/ngc/gui/gui_filebrowser.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/source/ngc/gui/gui.h b/source/ngc/gui/gui.h index f22d9a7..020ccbc 100644 --- a/source/ngc/gui/gui.h +++ b/source/ngc/gui/gui.h @@ -933,7 +933,7 @@ class GuiFileBrowser : public GuiElement GuiImageData * bgFileSelection; GuiImageData * bgFileSelectionEntry; - GuiImageData * ; + GuiImageData * fileFolder; GuiImageData * scrollbar; GuiImageData * arrowDown; GuiImageData * arrowDownOver; diff --git a/source/ngc/gui/gui_filebrowser.cpp b/source/ngc/gui/gui_filebrowser.cpp index 3cf1610..6e5cd88 100644 --- a/source/ngc/gui/gui_filebrowser.cpp +++ b/source/ngc/gui/gui_filebrowser.cpp @@ -42,7 +42,7 @@ GuiFileBrowser::GuiFileBrowser(int w, int h) bgFileSelectionImg->SetAlignment(ALIGN_LEFT, ALIGN_MIDDLE); bgFileSelectionEntry = new GuiImageData(bg_game_selection_entry_png); - = new GuiImageData(folder_png); + fileFolder = new GuiImageData(folder_png); scrollbar = new GuiImageData(scrollbar_png); scrollbarImg = new GuiImage(scrollbar); @@ -107,7 +107,7 @@ GuiFileBrowser::GuiFileBrowser(int w, int h) fileListText[i]->SetMaxWidth(380); fileListBg[i] = new GuiImage(bgFileSelectionEntry); - fileListFolder[i] = new GuiImage(); + fileListFolder[i] = new GuiImage(fileFolder); fileList[i] = new GuiButton(380, 26); fileList[i]->SetParent(this); @@ -139,7 +139,7 @@ GuiFileBrowser::~GuiFileBrowser() delete bgFileSelection; delete bgFileSelectionEntry; - delete ; + delete fileFolder; delete scrollbar; delete arrowDown; delete arrowDownOver;