Skip to content

Commit

Permalink
Make it compile with 4.6.1.
Browse files Browse the repository at this point in the history
SVN-Revision: 6694
  • Loading branch information
uafr committed Sep 28, 2011
1 parent eff4ce6 commit 59fd648
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion src/addon/addon_manager.cpp
Expand Up @@ -29,7 +29,6 @@
#ifdef HAVE_LIBCURL
# include <curl/curl.h>
# include <curl/easy.h>
# include <curl/types.h>
#endif

#include "addon/addon.hpp"
Expand Down
2 changes: 0 additions & 2 deletions src/gui/menu.cpp
Expand Up @@ -453,7 +453,6 @@ Menu::draw_item(DrawingContext& context, int index)
Color text_color = default_color;
float x_pos = pos.x;
float y_pos = pos.y + 24*index - menu_height/2 + 12;
int shadow_size = 2;
int text_width = int(Resources::normal_font->get_text_width(pitem.text));
int input_width = int(Resources::normal_font->get_text_width(pitem.input) + 10);
int list_width = 0;
Expand All @@ -470,7 +469,6 @@ Menu::draw_item(DrawingContext& context, int index)

if(index == active_item)
{
shadow_size = 3;
text_color = active_color;
}

Expand Down
1 change: 1 addition & 0 deletions src/supertux/screen_manager.hpp
Expand Up @@ -18,6 +18,7 @@
#define HEADER_SUPERTUX_SUPERTUX_MAINLOOP_HPP

#include <memory>
#include <cstddef>

#include "scripting/thread_queue.hpp"

Expand Down

0 comments on commit 59fd648

Please sign in to comment.