diff options
author | George Hazan <george.hazan@gmail.com> | 2013-08-11 07:54:56 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-08-11 07:54:56 +0000 |
commit | f074f54bcb0f6e01dbb0cda4f0727ce8043b399b (patch) | |
tree | 2dbfe06eb43c413d5d6eeaa4c94c5d7b933f2b5b /plugins | |
parent | d3267a2211366e903fd72744b62f71a6df168983 (diff) |
fix for russian variable name (though it works ok :)
git-svn-id: http://svn.miranda-ng.org/main/trunk@5642 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/AVS/src/cache.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/plugins/AVS/src/cache.cpp b/plugins/AVS/src/cache.cpp index 6064c247a8..a59119508f 100644 --- a/plugins/AVS/src/cache.cpp +++ b/plugins/AVS/src/cache.cpp @@ -99,19 +99,19 @@ CacheNode *FindAvatarInCache(HANDLE hContact, BOOL add, BOOL findAny) mir_cslock lck(cachecs);
- CacheNode *ρρ = g_Cache, *foundNode = NULL;
- while(ρρ) {
- if (ρρ->ace.hContact == hContact) {
- ρρ->ace.t_lastAccess = time(NULL);
- foundNode = ρρ->loaded || findAny ? ρρ : NULL;
+ CacheNode *cc = g_Cache, *foundNode = NULL;
+ while(cc) {
+ if (cc->ace.hContact == hContact) {
+ cc->ace.t_lastAccess = time(NULL);
+ foundNode = cc->loaded || findAny ? cc : NULL;
return foundNode;
}
// found an empty and usable node
- if (foundNode == NULL && ρρ->ace.hContact == 0)
- foundNode = ρρ;
+ if (foundNode == NULL && cc->ace.hContact == 0)
+ foundNode = cc;
- ρρ = ρρ->pNextNode;
+ cc = cc->pNextNode;
}
// not found
@@ -227,14 +227,14 @@ int SetAvatarAttribute(HANDLE hContact, DWORD attrib, int mode) if (g_shutDown)
return 0;
- for (CacheNode *ρρ = g_Cache; ρρ; ρρ = ρρ->pNextNode) {
- if (ρρ->ace.hContact != hContact)
+ for (CacheNode *cc = g_Cache; cc; cc = cc->pNextNode) {
+ if (cc->ace.hContact != hContact)
continue;
- DWORD dwFlags = ρρ->ace.dwFlags;
- ρρ->ace.dwFlags = mode ? (ρρ->ace.dwFlags | attrib) : (ρρ->ace.dwFlags & ~attrib);
- if (ρρ->ace.dwFlags != dwFlags)
- NotifyMetaAware(hContact, ρρ);
+ DWORD dwFlags = cc->ace.dwFlags;
+ cc->ace.dwFlags = mode ? (cc->ace.dwFlags | attrib) : (cc->ace.dwFlags & ~attrib);
+ if (cc->ace.dwFlags != dwFlags)
+ NotifyMetaAware(hContact, cc);
break;
}
return 0;
|