forked from len0rd/rockbox
Search string was not properly used.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11326 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
68b740f648
commit
a0faf9b992
1 changed files with 1 additions and 2 deletions
|
|
@ -1351,8 +1351,7 @@ int tagtree_enter(struct tree_context* c)
|
|||
if (csi->clause[i][j]->numeric)
|
||||
csi->clause[i][j]->numeric_data = atoi(searchstring);
|
||||
else
|
||||
strncpy(csi->clause[i][j]->str, searchstring,
|
||||
sizeof(csi->clause[i][j]->str)-1);
|
||||
csi->clause[i][j]->str = searchstring;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue