From: Mikko Rasa Date: Wed, 16 Oct 2013 12:18:16 +0000 (+0300) Subject: Minor style fixes X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=1bc84ded58379ee24315db8784d9fb710a02e24e;p=libs%2Fgltk.git Minor style fixes --- diff --git a/source/layout.h b/source/layout.h index 38d45ba..c9263d3 100644 --- a/source/layout.h +++ b/source/layout.h @@ -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 diff --git a/source/listdata.h b/source/listdata.h index 4c02f44..9d1a457 100644 --- a/source/listdata.h +++ b/source/listdata.h @@ -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");