summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-action/supertuxkart/files/supertuxkart-0.6.2-ovflfix.patch')
-rw-r--r--games-action/supertuxkart/files/supertuxkart-0.6.2-ovflfix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/games-action/supertuxkart/files/supertuxkart-0.6.2-ovflfix.patch b/games-action/supertuxkart/files/supertuxkart-0.6.2-ovflfix.patch
new file mode 100644
index 000000000000..5352683d67d3
--- /dev/null
+++ b/games-action/supertuxkart/files/supertuxkart-0.6.2-ovflfix.patch
@@ -0,0 +1,11 @@
+--- src/gui/display_res_confirm.cpp.old 2010-11-03 09:35:21.000000000 +0100
++++ src/gui/display_res_confirm.cpp 2010-11-03 09:35:49.000000000 +0100
+@@ -107,7 +107,7 @@
+ if (m_counter > 1)
+ {
+ m_counter--;
+- snprintf(m_count, MAX_MESSAGE_LENGTH, _("Confirm Resolution Within %d Seconds"), m_counter);
++ snprintf(m_count, sizeof(m_count), _("Confirm Resolution Within %d Seconds"), m_counter);
+ widget_manager->setWgtText( WTOK_TITLE, m_count );
+ }
+ else