From 91f381fa078c7e9b3a699f7f0e7ba60edc0ee4bd Mon Sep 17 00:00:00 2001 From: Paul Cercueil Date: Thu, 18 Jul 2013 17:49:33 -0400 Subject: [PATCH] Allow an OPK to use an icon provided by the theme --- src/linkapp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/linkapp.cpp b/src/linkapp.cpp index 2eeda21..a7ef59c 100644 --- a/src/linkapp.cpp +++ b/src/linkapp.cpp @@ -134,7 +134,7 @@ LinkApp::LinkApp(GMenu2X *gmenu2x_, Touchscreen &ts, InputManager &inputMgr_, } else if (!strncmp(key, "Icon", lkey)) { /* Read the icon from the OPK only * if it doesn't exist on the skin */ - this->icon = gmenu2x->sc.getSkinFilePath((string) buf + ".png"); + this->icon = gmenu2x->sc.getSkinFilePath("icons/" + (string) buf + ".png"); if (this->icon.empty()) this->icon = (string) linkfile + '#' + buf + ".png"; iconPath = this->icon;