From: dooglus Date: Thu, 1 Nov 2007 01:48:59 +0000 (+0000) Subject: Tidying. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=3cc0ca894a70090b26789e4c85fd25db035b6673;p=synfig.git Tidying. git-svn-id: http://svn.voria.com/code@1098 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-studio/trunk/src/synfigapp/blineconvert.cpp b/synfig-studio/trunk/src/synfigapp/blineconvert.cpp index 770f42c..45ab5fc 100644 --- a/synfig-studio/trunk/src/synfigapp/blineconvert.cpp +++ b/synfig-studio/trunk/src/synfigapp/blineconvert.cpp @@ -422,24 +422,17 @@ synfigapp::BLineConverter::operator () (std::list &out, cons if(in.size() == in_w.size()) { for(;i != end; ++i,++iw) - { - //eliminate duplicate points - if(*i != c) + if(*i != c) // eliminate duplicate points { f.push_back(c = *i); f_w.push_back(*iw); } - } - }else + } + else { for(;i != end; ++i) - { - //eliminate duplicate points - if(*i != c) - { + if(*i != c) // eliminate duplicate points f.push_back(c = *i); - } - } } } //initialprocess = timer(); @@ -499,7 +492,8 @@ synfigapp::BLineConverter::operator () (std::list &out, cons minc = cvt[i]; maxi = i; } - }else if(maxi >= 0) + } + else if(maxi >= 0) { if(maxi >= last + 8) { @@ -812,10 +806,6 @@ void synfigapp::BLineConverter::EnforceMinWidth(std::list &b end = bline.end(); for(i = bline.begin(); i != end; ++i) - { if(i->get_width() < min_pressure) - { i->set_width(min_pressure); - } - } }