summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e7d8a71)
raw | patch | inline | side by side (parent: e7d8a71)
author | johncoswell <johncoswell@users.sourceforge.net> | |
Sat, 21 Apr 2007 11:16:34 +0000 (11:16 +0000) | ||
committer | johncoswell <johncoswell@users.sourceforge.net> | |
Sat, 21 Apr 2007 11:16:34 +0000 (11:16 +0000) |
src/flood-context.cpp | patch | blob | history |
diff --git a/src/flood-context.cpp b/src/flood-context.cpp
index a25ab2196615edea8c731bf08e8b1dc08d0ae27f..33281995752fffa36e3ae00c876d5395fd731b31 100644 (file)
--- a/src/flood-context.cpp
+++ b/src/flood-context.cpp
@@ -668,7 +668,7 @@ static void sp_flood_do_flood_fill(SPEventContext *event_context, GdkEvent *even
merge_pixel_with_background(orig_color, dtc, merged_orig);
unsigned char *trace_t = get_pixel(trace_px, (int)color_point[NR::X], (int)color_point[NR::Y], width);
- if (trace_t[0] != 255) {
+ if ((trace_t[0] != 255) && (trace_t[3] != 255)) {
fill_queue.push_front(color_point);
}