-fixed herpderp bug of wiiflow not going back to the game

which last was selected in plugins coverflow (d'oh!)
This commit is contained in:
fix94.1 2012-07-02 14:02:33 +00:00
parent 5966c8ec5e
commit 757fd2021b

View File

@ -2017,7 +2017,7 @@ bool CCoverFlow::findId(const char *id, bool instant)
for (i = 0; i < m_items.size(); ++i) for (i = 0; i < m_items.size(); ++i)
if (memcmp(&m_items[i].hdr->id, id, strlen(id)) == 0) if (memcmp(&m_items[i].hdr->id, id, strlen(id)) == 0)
break; break;
else if (strlen(id) > 6 && memcmp(&m_items[i].hdr->path[string(m_items[i].hdr->path).find_last_of("/")], id, strlen(id)) == 0) else if (strlen(id) > 6 && memcmp(&m_items[i].hdr->path[string(m_items[i].hdr->path).find_last_of("/")+1], id, strlen(id)) == 0)
break; break;
if (i >= m_items.size()) if (i >= m_items.size())
return false; return false;