From: | "Alfredo Tupone (tupone)" <tupone@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in games-action/supertuxkart/files: supertuxkart-0.6.2-ovflfix.patch |
Date: | Wed, 03 Nov 2010 08:56:25 |
Message-Id: | 20101103085615.DB62220054@flycatcher.gentoo.org |
1 | tupone 10/11/03 08:56:15 |
2 | |
3 | Added: supertuxkart-0.6.2-ovflfix.patch |
4 | Log: |
5 | Fix overflow. Bug #339107 |
6 | (Portage version: 2.1.8.3/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 games-action/supertuxkart/files/supertuxkart-0.6.2-ovflfix.patch |
10 | |
11 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/supertuxkart/files/supertuxkart-0.6.2-ovflfix.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/supertuxkart/files/supertuxkart-0.6.2-ovflfix.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: supertuxkart-0.6.2-ovflfix.patch |
15 | =================================================================== |
16 | --- src/gui/display_res_confirm.cpp.old 2010-11-03 09:35:21.000000000 +0100 |
17 | +++ src/gui/display_res_confirm.cpp 2010-11-03 09:35:49.000000000 +0100 |
18 | @@ -107,7 +107,7 @@ |
19 | if (m_counter > 1) |
20 | { |
21 | m_counter--; |
22 | - snprintf(m_count, MAX_MESSAGE_LENGTH, _("Confirm Resolution Within %d Seconds"), m_counter); |
23 | + snprintf(m_count, sizeof(m_count), _("Confirm Resolution Within %d Seconds"), m_counter); |
24 | widget_manager->setWgtText( WTOK_TITLE, m_count ); |
25 | } |
26 | else |