[gimp] app: In GimpPaintTool, swap get_line_status() coordinates
- From: N/A <ell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: In GimpPaintTool, swap get_line_status() coordinates
- Date: Sun, 28 Jan 2018 22:29:12 +0000 (UTC)
commit 1d67e0abcfb66e8ed811f39bd03ecf8e4688f93c
Author: Ell <ell_se yahoo com>
Date: Sun Jan 28 17:25:24 2018 -0500
app: In GimpPaintTool, swap get_line_status() coordinates
They got swapped by commit
2069496af35770fc964df0567e73cac3edd8c09b, reporting the angle in
the reverse direction.
app/tools/gimppainttool.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/app/tools/gimppainttool.c b/app/tools/gimppainttool.c
index ec42221..0b5bac9 100644
--- a/app/tools/gimppainttool.c
+++ b/app/tools/gimppainttool.c
@@ -659,10 +659,10 @@ gimp_paint_tool_oper_update (GimpTool *tool,
status = gimp_display_shell_get_line_status (shell, status_help,
". ",
- core->cur_coords.x,
- core->cur_coords.y,
core->last_coords.x,
- core->last_coords.y);
+ core->last_coords.y,
+ core->cur_coords.x,
+ core->cur_coords.y);
g_free (status_help);
paint_tool->draw_line = TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]