[dia] Fix some typos and white space issues



commit ce9144f06a5a0e378b993dd43cb3c96eac97c9a7
Author: Hans Breuer <hans breuer org>
Date:   Fri Apr 25 12:47:20 2014 +0200

    Fix some typos and white space issues

 objects/standard/beziergon.c          |    2 +-
 plug-ins/cairo/diacairo-interactive.c |    2 +-
 plug-ins/python/allprops.py           |    4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/objects/standard/beziergon.c b/objects/standard/beziergon.c
index d9761d0..e0c2173 100644
--- a/objects/standard/beziergon.c
+++ b/objects/standard/beziergon.c
@@ -295,7 +295,7 @@ beziergon_create(Point *startpoint,
 
     beziershape_init(bez, bcd->num_points);
     beziercommon_set_points (&bez->bezier, bcd->num_points, bcd->points);
-  }  
+  }
   beziergon->line_width =  attributes_get_default_linewidth();
   beziergon->line_color = attributes_get_foreground();
   beziergon->inner_color = attributes_get_background();
diff --git a/plug-ins/cairo/diacairo-interactive.c b/plug-ins/cairo/diacairo-interactive.c
index 9cd2296..094cbcc 100644
--- a/plug-ins/cairo/diacairo-interactive.c
+++ b/plug-ins/cairo/diacairo-interactive.c
@@ -276,7 +276,7 @@ draw_object_highlighted (DiaRenderer     *self,
   }
   /* usually this method would need to draw the object twice,
    * once with highlight and once without. But due to our
-   * draw_text_line implemntation we only need one run */
+   * draw_text_line implementation we only need one run */
   object->ops->draw(object, self);
   /* always reset when done with this object */
   interactive->highlight_color = NULL;
diff --git a/plug-ins/python/allprops.py b/plug-ins/python/allprops.py
index 7c6f997..452127d 100644
--- a/plug-ins/python/allprops.py
+++ b/plug-ins/python/allprops.py
@@ -55,9 +55,9 @@ def allprops_cb(data, flags) :
                                                        props_by_name[uname][1].append(oname)
                                                else :
                                                        props_by_name[uname] = (p, [oname])
-                                                       name_type_clashes.append (oname + " as " + p0.type + 
" and " + p.type)
+                                                       name_type_clashes.append (oname + "::" + p.name + " 
as " + p0.type + " and " + p.type)
                                        else :
-                                               # remember the origin of the propety
+                                               # remember the origin of the property
                                                props_by_name[k][1].append(oname)
                                except KeyError :
                                        print oname, "::", k, p, "?"


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