aboutsummaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/texturetest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/texturetest.cc b/src/tests/texturetest.cc
index 3736493..86654bd 100644
--- a/src/tests/texturetest.cc
+++ b/src/tests/texturetest.cc
@@ -83,7 +83,7 @@ private:
83 unsigned int next_y = 5; 83 unsigned int next_y = 5;
84 84
85 TestTheme tm(screenNumber()); 85 TestTheme tm(screenNumber());
86 std::auto_ptr<ThemeItem<Texture> > text; 86 std::unique_ptr<ThemeItem<Texture> > text;
87 char value[18]; 87 char value[18];
88 for (int i=0; i<m_num; ++i) { 88 for (int i=0; i<m_num; ++i) {
89 sprintf(value, "%d", i); 89 sprintf(value, "%d", i);