projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- Use obstacks for memory allocation for lispfiles and DrawingRequests,
[supertux.git]
/
src
/
textscroller.cpp
diff --git
a/src/textscroller.cpp
b/src/textscroller.cpp
index
bca514c
..
759a9c7
100644
(file)
--- 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<lisp::Lisp> root (parser.parse(filename)
);
+
const lisp::Lisp* root = parser.parse(filename
);
const lisp::Lisp* text_lisp = root->get_lisp("supertux-text");
if(!text_lisp)