[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: gaf.git: branch: master updated (1.6.1-20100214-95-g331b911)



The branch, master has been updated
       via  331b9111417cf6297fa8f188b81a67d2caf2b963 (commit)
      from  4a2baceb1bf4546f8888045f80fb989794d9130f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


=========
 Summary
=========

 libgeda/src/o_line_basic.c |   39 +++++++++++++++++++--------------------
 1 files changed, 19 insertions(+), 20 deletions(-)


=================
 Commit Messages
=================

commit 331b9111417cf6297fa8f188b81a67d2caf2b963
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    libgeda: Re-indent o_line_modify()
    
    Keeps this NOP change separate from a more functional change one
    of my branches.

:100644 100644 cdc1a17... c6316ef... M	libgeda/src/o_line_basic.c

=========
 Changes
=========

commit 331b9111417cf6297fa8f188b81a67d2caf2b963
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    libgeda: Re-indent o_line_modify()
    
    Keeps this NOP change separate from a more functional change one
    of my branches.

diff --git a/libgeda/src/o_line_basic.c b/libgeda/src/o_line_basic.c
index cdc1a17..c6316ef 100644
--- a/libgeda/src/o_line_basic.c
+++ b/libgeda/src/o_line_basic.c
@@ -166,27 +166,26 @@ OBJECT *o_line_copy(TOPLEVEL *toplevel, OBJECT *o_current)
  *  </DL>
  */
 void o_line_modify(TOPLEVEL *toplevel, OBJECT *object,
-		   int x, int y, int whichone)
+                   int x, int y, int whichone)
 {
-	/* change one of the end of the line */
-	switch(whichone) {
-		case LINE_END1:
-		object->line->x[0] = x;
-		object->line->y[0] = y;
-		break;
-		
-		case LINE_END2:
-		object->line->x[1] = x;
-		object->line->y[1] = y;
-		break;
-		
-		default:
-		return;
-	}
-	
-	/* recalculate the bounding box */
-	o_line_recalc(toplevel, object);
-	
+  /* change one of the end of the line */
+  switch (whichone) {
+    case LINE_END1:
+      object->line->x[0] = x;
+      object->line->y[0] = y;
+      break;
+
+    case LINE_END2:
+      object->line->x[1] = x;
+      object->line->y[1] = y;
+      break;
+
+    default:
+      return;
+  }
+
+  /* recalculate the bounding box */
+  o_line_recalc(toplevel, object);
 }
 
 /*! \brief Create line OBJECT from character string.




_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs