gimp r26151 - in trunk: . app/tools
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r26151 - in trunk: . app/tools
- Date: Sat, 12 Jul 2008 09:07:04 +0000 (UTC)
Author: neo
Date: Sat Jul 12 09:07:04 2008
New Revision: 26151
URL: http://svn.gnome.org/viewvc/gimp?rev=26151&view=rev
Log:
2008-07-12 Sven Neumann <sven gimp org>
* app/tools/gimprectangletool.c: formatting.
Modified:
trunk/ChangeLog
trunk/app/tools/gimprectangletool.c
Modified: trunk/app/tools/gimprectangletool.c
==============================================================================
--- trunk/app/tools/gimprectangletool.c (original)
+++ trunk/app/tools/gimprectangletool.c Sat Jul 12 09:07:04 2008
@@ -1947,8 +1947,9 @@
shell = GIMP_DISPLAY_SHELL (tool->display->shell);
- return shell->scale_x != private->scale_x_used_for_handle_size_calculations ||
- shell->scale_y != private->scale_y_used_for_handle_size_calculations;
+ return (shell->scale_x != private->scale_x_used_for_handle_size_calculations
+ ||
+ shell->scale_y != private->scale_y_used_for_handle_size_calculations);
}
static void
@@ -2192,10 +2193,8 @@
* signal which we don't want in the middle of a rectangle change.
*/
if (gimp_tool_control_is_active (GIMP_TOOL (rect_tool)->control))
- {
- return;
- }
-
+ return;
+
private = GIMP_RECTANGLE_TOOL_GET_PRIVATE (rect_tool);
old_function = private->function;
@@ -2543,10 +2542,10 @@
y1_b = pub_y1 - (narrow_mode ? private->corner_handle_h / shell->scale_y : 0);
y2_b = pub_y2 + (narrow_mode ? private->corner_handle_h / shell->scale_y : 0);
- return coord->x < x1_b ||
- coord->x > x2_b ||
- coord->y < y1_b ||
- coord->y > y2_b;
+ return (coord->x < x1_b ||
+ coord->x > x2_b ||
+ coord->y < y1_b ||
+ coord->y > y2_b);
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]