mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-06 15:13:57 +02:00
parent
1df1b9fb53
commit
14aa455164
1 changed files with 1 additions and 1 deletions
|
@ -3158,7 +3158,7 @@ void writeFileLocation(MediaKey location, const FileLocation &local) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (i.value().first != location) {
|
if (i.value().first != location) {
|
||||||
for (FileLocations::iterator j = _fileLocations.find(i.value().first), e = _fileLocations.end(); (j != e) && (j.key() == i.value().first);) {
|
for (FileLocations::iterator j = _fileLocations.find(i.value().first), e = _fileLocations.end(); (j != e) && (j.key() == i.value().first); ++j) {
|
||||||
if (j.value() == i.value().second) {
|
if (j.value() == i.value().second) {
|
||||||
_fileLocations.erase(j);
|
_fileLocations.erase(j);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Reference in a new issue