X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Ftextscroller.cpp;h=dcafdc1c73e92ee4dd7c79d6ed5b253cbf06780d;hb=07ddaed2a657e4d2a3d038fed223fc5827159caf;hp=5b05d2aca0b27124a896b13b3b000a13a5ed7723;hpb=f3e5e57c9996168a4889ae8e195be25f8b7e629b;p=supertux.git diff --git a/src/textscroller.cpp b/src/textscroller.cpp index 5b05d2aca..dcafdc1c7 100644 --- a/src/textscroller.cpp +++ b/src/textscroller.cpp @@ -1,7 +1,7 @@ // $Id$ -// +// // SuperTux -// Copyright (C) 2005 Matthias Braun +// Copyright (C) 2006 Matthias Braun // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License @@ -12,7 +12,7 @@ // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. -// +// // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA @@ -22,7 +22,7 @@ #include "textscroller.hpp" #include -#include "msg.hpp" +#include "log.hpp" #include "mainloop.hpp" #include "resources.hpp" #include "video/font.hpp" @@ -175,7 +175,7 @@ TextScroller::draw(DrawingContext& context) break; } default: - msg_warning << "text contains an unformated line" << std::endl; + log_warning << "text contains an unformated line" << std::endl; font = white_text; center = false; break; @@ -230,7 +230,7 @@ InfoBox::InfoBox(const std::string& text) } catch (std::exception& e) { - msg_warning << "Could not load scrolling images: " << e.what() << std::endl; + log_warning << "Could not load scrolling images: " << e.what() << std::endl; arrow_scrollup = 0; arrow_scrolldown = 0; } @@ -288,7 +288,7 @@ InfoBox::draw(DrawingContext& context) break; } default: - msg_warning << "text contains an unformatted line" << std::endl; + log_warning << "text contains an unformatted line" << std::endl; font = normal_font; center = false; break;