summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY4
-rw-r--r--config.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/HISTORY b/HISTORY
index c0a2e81..7d2e37a 100644
--- a/HISTORY
+++ b/HISTORY
@@ -179,4 +179,6 @@ Version 0.1.6
- introduced globals.xml in skinpath, theme.xml in theme path. theme.xml
adds its vakues and potentially overrides valués from globals.xml
- check icons, menuicons and skinparts additionally directly in skin folder
- to allow default images which can be used for all skins. \ No newline at end of file
+ to allow default images which can be used for all skins
+- fixed bug that setup variables are sometimes not identified in case two
+ or more skin names start identically
diff --git a/config.c b/config.c
index 192f1e4..61ccb55 100644
--- a/config.c
+++ b/config.c
@@ -160,7 +160,9 @@ void cDesignerConfig::SetSkinSetupParameters(void) {
string activeSkin = "";
bool skinFound = false;
while (GetSkin(activeSkin)) {
- size_t hit = name.find(activeSkin);
+ stringstream checkString;
+ checkString << activeSkin << ".";
+ size_t hit = name.find(checkString.str());
if (hit != 0)
continue;
skinFound = true;