Fixed crash when clicking to right of rightmost color.
This commit is contained in:
parent
79d8931484
commit
6cbf434429
2 changed files with 6 additions and 3 deletions
|
|
@ -9,7 +9,7 @@ http://www.newbreedsoftware.com/tuxpaint/
|
|||
$Id$
|
||||
|
||||
|
||||
2006.February.5 (0.9.16)
|
||||
2006.February.12 (0.9.16)
|
||||
* Interface improvements:
|
||||
-----------------------
|
||||
* Modified "Text" tool so that it correctly handles the 16-bit unicode
|
||||
|
|
@ -59,6 +59,9 @@ $Id$
|
|||
PNGs where RGB colors were stored, even where pixels were
|
||||
fully transparent.)
|
||||
|
||||
* Clicking between the rightmost color and the edge of Tux Paint's display
|
||||
would crash Tux Paint. (Fixes DBTS #352556)
|
||||
|
||||
|
||||
2005.November.26 (0.9.15b)
|
||||
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
(See COPYING.txt)
|
||||
|
||||
June 14, 2002 - January 14, 2006
|
||||
June 14, 2002 - February 12, 2006
|
||||
$Id$
|
||||
*/
|
||||
|
||||
|
|
@ -3893,7 +3893,7 @@ static void mainloop(void)
|
|||
/* Color! */
|
||||
which = GRIDHIT_GD(r_colors,gd_colors);
|
||||
|
||||
if (which < NUM_COLORS)
|
||||
if (which > 0 && which < NUM_COLORS)
|
||||
{
|
||||
cur_color = which;
|
||||
playsound(1, SND_BUBBLE, 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue