]> git.tdb.fi Git - libs/gltk.git/commitdiff
Minor style fixes
authorMikko Rasa <tdb@tdb.fi>
Wed, 16 Oct 2013 12:18:16 +0000 (15:18 +0300)
committerMikko Rasa <tdb@tdb.fi>
Wed, 16 Oct 2013 15:55:19 +0000 (18:55 +0300)
source/layout.h
source/listdata.h

index 38d45ba4957100938e2bdc9fb5ca9aafe2781124..c9263d3d5f8a0b2d83f11a54a0daebeff997fb35 100644 (file)
@@ -188,7 +188,7 @@ public:
        void set_container(Container &);
        void set_margin(const Sides &);
 
-       /** Sets the default spacing between widgets in bothg directions. */
+       /** Sets the default spacing between widgets in both directions. */
        void set_spacing(unsigned);
 
        /** Sets the default vertical spacing between widgets.  Affects the ABOVE
index 4c02f44aed57a7f3d3ca3094c1924eb21a38c6e5..9d1a45704fea947c33f1168787c2154b87039da3 100644 (file)
@@ -44,7 +44,7 @@ protected:
 public:
        void append(const T &v) { insert(items.size(), v); }
 
-       void insert(unsigned i, const T & v)
+       void insert(unsigned i, const T &v)
        {
                if(i>items.size())
                        throw std::out_of_range("ListDataStore::insert");