use a gint for direction, not a gchar which might be unsigned. Patch from
2008-02-04 Sven Neumann <sven@gimp.org> * app/display/gimpdisplayshell-preview.c (gimp_display_shell_trace_tri_edge): use a gint for direction, not a gchar which might be unsigned. Patch from Giuliano Pochini; fixes bug #340965. svn path=/trunk/; revision=24795
This commit is contained in:

committed by
Sven Neumann

parent
a3d04e08c6
commit
11a91e4e7f
@ -1,3 +1,10 @@
|
|||||||
|
2008-02-04 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
|
* app/display/gimpdisplayshell-preview.c
|
||||||
|
(gimp_display_shell_trace_tri_edge): use a gint for direction, not
|
||||||
|
a gchar which might be unsigned. Patch from Giuliano Pochini;
|
||||||
|
fixes bug #340965.
|
||||||
|
|
||||||
2008-02-04 Sven Neumann <sven@gimp.org>
|
2008-02-04 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
* plug-ins/print/print-page-layout.c: only connect to page layout
|
* plug-ins/print/print-page-layout.c: only connect to page layout
|
||||||
|
@ -828,7 +828,7 @@ gimp_display_shell_trace_tri_edge (gint *dest,
|
|||||||
{
|
{
|
||||||
const gint dy = y2 - y1;
|
const gint dy = y2 - y1;
|
||||||
gint dx;
|
gint dx;
|
||||||
gchar xdir;
|
gint xdir;
|
||||||
gint errorterm;
|
gint errorterm;
|
||||||
gint b;
|
gint b;
|
||||||
gint *dptr;
|
gint *dptr;
|
||||||
|
Reference in New Issue
Block a user