summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/gui/skin_engine/skin_tokens.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/gui/skin_engine/skin_tokens.c b/apps/gui/skin_engine/skin_tokens.c
index 8e15ddc..5bf275c 100644
--- a/apps/gui/skin_engine/skin_tokens.c
+++ b/apps/gui/skin_engine/skin_tokens.c
@@ -72,6 +72,7 @@
#include "tuner.h"
#endif
#include "list.h"
+#include "strnatcmp.h"
#define NOINLINE __attribute__ ((noinline))
@@ -739,11 +740,10 @@ static const char* NOINLINE get_lif_token_value(struct gui_wps *gwps,
switch (lif->operand.type)
{
case STRING:
- if (lif->op == IF_EQUALS)
- return (out_text && strcmp(out_text, lif->operand.data.text) == 0)
- ? "eq" : NULL;
- else
+ if (out_text == NULL)
return NULL;
+ a = strcmp(out_text, lif->operand.data.text);
+ b = 0;
break;
case INTEGER:
case DECIMAL: