projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use boost::shared_ptr<Surface> instead of std::auto_ptr<Surface>
[supertux.git]
/
src
/
supertux
/
info_box_line.cpp
diff --git
a/src/supertux/info_box_line.cpp
b/src/supertux/info_box_line.cpp
index
16a69d6
..
119733f
100644
(file)
--- a/
src/supertux/info_box_line.cpp
+++ b/
src/supertux/info_box_line.cpp
@@
-106,7
+106,7
@@
InfoBoxLine::InfoBoxLine(char format_char, const std::string& text) :
font(Resources::normal_font),
color(),
text(text),
- image(
0
)
+ image()
{
font = get_font_by_format_char(format_char);
lineType = get_linetype_by_format_char(format_char);