supertuxkart/supertuxkart-0.7.3-irrlicht-1.8-2.patch

25 lines
1.1 KiB
Diff
Raw Normal View History

diff -Nuar supertuxkart-0.7.3/src/guiengine/widgets/CGUIEditBox.cpp supertuxkart-0.7.3.work/src/guiengine/widgets/CGUIEditBox.cpp
--- supertuxkart-0.7.3/src/guiengine/widgets/CGUIEditBox.cpp 2011-11-02 06:04:13.000000000 +0600
+++ supertuxkart-0.7.3.work/src/guiengine/widgets/CGUIEditBox.cpp 2011-11-15 15:07:05.252312002 +0600
@@ -115,7 +115,7 @@
}
-video::SColor const& CGUIEditBox::getOverrideColor() const
+video::SColor CGUIEditBox::getOverrideColor() const
{
return OverrideColor;
}
diff -Nuar supertuxkart-0.7.3/src/guiengine/widgets/CGUIEditBox.h supertuxkart-0.7.3.work/src/guiengine/widgets/CGUIEditBox.h
--- supertuxkart-0.7.3/src/guiengine/widgets/CGUIEditBox.h 2011-11-02 06:04:12.000000000 +0600
+++ supertuxkart-0.7.3.work/src/guiengine/widgets/CGUIEditBox.h 2011-11-15 15:06:28.587310734 +0600
@@ -36,7 +36,7 @@
virtual void setOverrideColor(video::SColor color);
//! Gets the override color
- virtual video::SColor const & getOverrideColor() const;
+ virtual video::SColor getOverrideColor() const;
//! Sets if the text should use the overide color or the
//! color in the gui skin.