Fix for coverity #29409 - Use char 0 instead of NULL
[supertux.git] / src / supertux / info_box_line.hpp
index 7d5e9fe..56c6bca 100644 (file)
 #include <memory>
 
 #include "video/color.hpp"
+#include "video/font_ptr.hpp"
 #include "video/surface_ptr.hpp"
 
 class DrawingContext;
-class Font;
 class Rectf;
 
 /**
@@ -46,7 +46,7 @@ public:
 
 private:
   InfoBoxLine::LineType lineType;
-  Font* font;
+  FontPtr font;
   Color color;
   std::string text;
   SurfacePtr image;