mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 17:58:31 +02:00
fixed bug that setup variables are sometimes not identified
This commit is contained in:
parent
f33d44eda9
commit
61dbed981d
4
HISTORY
4
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.
|
||||
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
|
||||
|
4
config.c
4
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;
|
||||
|
Loading…
Reference in New Issue
Block a user