diff options
author | louis <louis.braun@gmx.de> | 2015-01-25 12:12:07 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2015-01-25 12:12:07 +0100 |
commit | 61dbed981d6070c3e642f43b8aaf08309f1e779e (patch) | |
tree | 7552e796f123a2aae3b89ff148ee1c0b4996daef | |
parent | f33d44eda968392c5c7e3a83cfe5ba3490ab9d84 (diff) | |
download | vdr-plugin-skindesigner-61dbed981d6070c3e642f43b8aaf08309f1e779e.tar.gz vdr-plugin-skindesigner-61dbed981d6070c3e642f43b8aaf08309f1e779e.tar.bz2 |
fixed bug that setup variables are sometimes not identified
-rw-r--r-- | HISTORY | 4 | ||||
-rw-r--r-- | config.c | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -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 @@ -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; |