aboutsummaryrefslogtreecommitdiffstats
path: root/src/locate.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/locate.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/locate.c b/src/locate.c
index d09e68a1e..3a4e35b84 100644
--- a/src/locate.c
+++ b/src/locate.c
@@ -123,7 +123,7 @@ void freeLocateTagItem(LocateTagItem * item)
static int strstrSearchTag(Song * song, int type, char *str)
{
int i;
- char *dup;
+ char *duplicate;
int ret = 0;
if (type == LOCATE_TAG_FILE_TYPE || type == LOCATE_TAG_ANY_TYPE) {
@@ -145,10 +145,10 @@ static int strstrSearchTag(Song * song, int type, char *str)
continue;
}
- dup = strDupToUpper(song->tag->items[i].value);
- if (strstr(dup, str))
+ duplicate = strDupToUpper(song->tag->items[i].value);
+ if (strstr(duplicate, str))
ret = 1;
- free(dup);
+ free(duplicate);
}
return ret;