[gimp] app: argh! never add even only one line of code without testing...
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: argh! never add even only one line of code without testing...
- Date: Sat, 25 Sep 2010 22:30:47 +0000 (UTC)
commit 970a062b01921cbc408a29e65b3437419af0bcb5
Author: Michael Natterer <mitch gimp org>
Date: Sun Sep 26 00:30:09 2010 +0200
app: argh! never add even only one line of code without testing...
app/tools/gimpdrawtool.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/tools/gimpdrawtool.c b/app/tools/gimpdrawtool.c
index 85ca7ad..b20a53d 100644
--- a/app/tools/gimpdrawtool.c
+++ b/app/tools/gimpdrawtool.c
@@ -366,7 +366,7 @@ gimp_draw_tool_add_item (GimpDrawTool *draw_tool,
GimpCanvasItem *item)
{
g_return_if_fail (GIMP_IS_DRAW_TOOL (draw_tool));
- g_return_if_fail (GIMP_IS_CANVAS_ITEM (draw_tool));
+ g_return_if_fail (GIMP_IS_CANVAS_ITEM (item));
if (! draw_tool->item)
draw_tool->item = gimp_canvas_group_new ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]