mirror of https://github.com/GNOME/gimp.git
parent
d36d23069f
commit
fa39134a36
|
@ -1,4 +1,8 @@
|
|||
1999-09-15 <xach@mint.net>
|
||||
Wed Sep 15 11:11:08 PDT 1999 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* app/path_tool.c: use a temp var for xoring the pointers
|
||||
|
||||
1999-09-15 Zachary Beane <xach@mint.net>
|
||||
|
||||
* plug-ins/script-fu/scripts/truchet.scm,coolmetal-logo.scm:
|
||||
Changed gimp-flip parameters to match new OrientationType enum
|
||||
|
|
|
@ -1241,7 +1241,8 @@ path_set_flags_helper (Path *path, PathCurve *curve, PathSegment *segment, gpoin
|
|||
{
|
||||
Path_set_flags_type *tmp = (Path_set_flags_type *) ptr;
|
||||
guint32 oldflags;
|
||||
|
||||
guint tmp_uint;
|
||||
|
||||
if (segment) {
|
||||
oldflags = segment->flags;
|
||||
segment->flags &= ~(tmp->bits_clear);
|
||||
|
@ -1264,7 +1265,9 @@ path_set_flags_helper (Path *path, PathCurve *curve, PathSegment *segment, gpoin
|
|||
|
||||
/* Does this work on all (16|32|64)-bit Machines? */
|
||||
|
||||
GPOINTER_TO_UINT(tmp->path_tool->single_active_segment) ^= GPOINTER_TO_UINT(segment);
|
||||
tmp_uint = GPOINTER_TO_UINT(tmp->path_tool->single_active_segment);
|
||||
tmp_uint ^= GPOINTER_TO_UINT(segment);
|
||||
tmp->path_tool->single_active_segment = GUINT_TO_POINTER(tmp_uint);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1241,7 +1241,8 @@ path_set_flags_helper (Path *path, PathCurve *curve, PathSegment *segment, gpoin
|
|||
{
|
||||
Path_set_flags_type *tmp = (Path_set_flags_type *) ptr;
|
||||
guint32 oldflags;
|
||||
|
||||
guint tmp_uint;
|
||||
|
||||
if (segment) {
|
||||
oldflags = segment->flags;
|
||||
segment->flags &= ~(tmp->bits_clear);
|
||||
|
@ -1264,7 +1265,9 @@ path_set_flags_helper (Path *path, PathCurve *curve, PathSegment *segment, gpoin
|
|||
|
||||
/* Does this work on all (16|32|64)-bit Machines? */
|
||||
|
||||
GPOINTER_TO_UINT(tmp->path_tool->single_active_segment) ^= GPOINTER_TO_UINT(segment);
|
||||
tmp_uint = GPOINTER_TO_UINT(tmp->path_tool->single_active_segment);
|
||||
tmp_uint ^= GPOINTER_TO_UINT(segment);
|
||||
tmp->path_tool->single_active_segment = GUINT_TO_POINTER(tmp_uint);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue