aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/MenuIcon.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/MenuIcon.cc')
-rw-r--r--src/FbTk/MenuIcon.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FbTk/MenuIcon.cc b/src/FbTk/MenuIcon.cc
index aa71b5d..d64d876 100644
--- a/src/FbTk/MenuIcon.cc
+++ b/src/FbTk/MenuIcon.cc
@@ -30,8 +30,8 @@
30 30
31namespace FbTk { 31namespace FbTk {
32 32
33MenuIcon::MenuIcon(const std::string &filename, const std::string &label, int screen_num): 33MenuIcon::MenuIcon(const std::string &filename, FbString &label, int screen_num):
34 MenuItem(label.c_str()), 34 MenuItem(label),
35 m_filename(filename) { 35 m_filename(filename) {
36 FbTk::PixmapWithMask *pm = Image::load(filename.c_str(), screen_num); 36 FbTk::PixmapWithMask *pm = Image::load(filename.c_str(), screen_num);
37 if (pm != 0) { 37 if (pm != 0) {