summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spilsbury <sam.spilsbury@canonical.com>2010-12-02 19:03:42 +0800
committerSam Spilsbury <sam.spilsbury@canonical.com>2010-12-02 19:03:42 +0800
commit4c7cd59a1a5ad0f737285e190bd229e29212428b (patch)
tree0d1fb75a02b03eb8d72862ad1db0164a1a28b93d
parent6fc697e8368ec0ae80544b7edb8d0adc61891319 (diff)
downloadelements-4c7cd59a1a5ad0f737285e190bd229e29212428b.tar.gz
elements-4c7cd59a1a5ad0f737285e190bd229e29212428b.tar.bz2
Fix stupid oversight
-rw-r--r--src/elements.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/elements.cpp b/src/elements.cpp
index 7f5cde6..e302de4 100644
--- a/src/elements.cpp
+++ b/src/elements.cpp
@@ -404,6 +404,7 @@ PrivateElementScreen::switchTimeout ()
if (text)
{
if (!text->eTextures.empty ())
+ {
text->nTexture =
(text->nTexture + 1) %
(text->eTextures.size ());