X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flogic.cpp;h=85ec710def369c7b6764e0cb69f0e628f03e8af6;hb=0af3c2393bd00f39db3bfaf5b78a7a44f0fd5ff1;hp=16444892a591b752aa7eff5e95b0f1bf67bfc07e;hpb=ef4660c4bdf38e126e13b426649fc2f997027b65;p=libs%2Fgltk.git diff --git a/source/logic.cpp b/source/logic.cpp index 1644489..85ec710 100644 --- a/source/logic.cpp +++ b/source/logic.cpp @@ -21,16 +21,16 @@ Logic::Loader::Loader(Logic &l, const map &w): void Logic::Loader::bind(const string &wdg, const string &data) { - map::const_iterator i=widgets.find(wdg); + map::const_iterator i = widgets.find(wdg); if(i==widgets.end()) throw KeyError("Unknown widget", wdg); - string::size_type colon=data.find(':'); + string::size_type colon = data.find(':'); WidgetBinding act; - act.wdg=i->second; - act.type=data.substr(0, colon); + act.wdg = i->second; + act.type = data.substr(0, colon); if(colon!=string::npos) - act.data=data.substr(colon+1); + act.data = data.substr(colon+1); logic.bindings.push_back(act); }