--- a/uiacceltk/hitchcock/ServerCore/Src/alfappsrvsession.cpp Tue May 11 17:03:00 2010 +0300
+++ b/uiacceltk/hitchcock/ServerCore/Src/alfappsrvsession.cpp Tue May 25 13:39:57 2010 +0300
@@ -1592,9 +1592,9 @@
// If we are reusing deleted texture, remove it from "deleted" array
TInt index = iTextures.Find(&texture);
- if (index != KErrNotFound)
+ if (index == KErrNotFound)
{
- iTextures.Remove(index);
+ iTextures.Append(env->TextureManager().Texture(id));
}
@@ -1727,9 +1727,9 @@
// If we are reusing deleted texture, remove it from "deleted" array
TInt index = iTextures.Find(&textureRef);
- if (index != KErrNotFound)
+ if (index == KErrNotFound)
{
- iTextures.Remove(index);
+ iTextures.Append(env->TextureManager().Texture(id));
}
// Add texture to skin content