X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Ftextscroller.cpp;h=759a9c704b4a346534e222907b095393aa15ad6d;hb=d4b281559d45406a5d07cf04d89142cdeb90b114;hp=bca514c5df2ed0086940199c0805d231e98f26a6;hpb=2f7bf5676ef8b6b9ff3cf28468efe536888808b5;p=supertux.git diff --git a/src/textscroller.cpp b/src/textscroller.cpp index bca514c5d..759a9c704 100644 --- a/src/textscroller.cpp +++ b/src/textscroller.cpp @@ -51,7 +51,7 @@ TextScroller::TextScroller(const std::string& filename) lisp::Parser parser; try { - std::auto_ptr root (parser.parse(filename)); + const lisp::Lisp* root = parser.parse(filename); const lisp::Lisp* text_lisp = root->get_lisp("supertux-text"); if(!text_lisp)