diff options
-rw-r--r-- | wizard/pin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wizard/pin.c b/wizard/pin.c index e7043bc6..b63c4561 100644 --- a/wizard/pin.c +++ b/wizard/pin.c @@ -92,7 +92,7 @@ pin_db_parse_start_tag (GMarkupParseContext *ctx, } else if (g_str_equal (*attr_names, "name")) { if (*attr_values == NULL || pdata->name == NULL) return; - if (strstr (*attr_values, pdata->name) == NULL) + if (strstr (pdata->name, *attr_values) == NULL) return; } else if (g_str_equal (*attr_names, "pin")) { if (g_str_has_prefix (*attr_values, MAX_DIGITS_PIN_PREFIX) != FALSE) { |