X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fstate_draw.cpp;h=4131b77b7ab98f309d9c969d7b48dd192dcabaad;hb=55e0ee1a66bc612e4da9d19eb778bc1e2c50d051;hp=e58928f857e0bd8dff53ce0253a1364ba0733801;hpb=832aada6a73938358a26f528fdf8aa6fd56a75e2;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/state_draw.cpp b/synfig-studio/trunk/src/gtkmm/state_draw.cpp index e58928f..4131b77 100644 --- a/synfig-studio/trunk/src/gtkmm/state_draw.cpp +++ b/synfig-studio/trunk/src/gtkmm/state_draw.cpp @@ -6,6 +6,7 @@ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley +** Copyright (c) 2007 Chris Moore ** ** This package is free software; you can redistribute it and/or ** modify it under the terms of the GNU General Public License as @@ -660,13 +661,13 @@ StateDraw_Context::process_stroke(StrokeData stroke_data, WidthData width_data, // Add the widths of the two points { - Real width(bline.front().get_width()+width); - width=width<=1?width:1; - bline.front().set_width(width); + Real tmp_width(bline.front().get_width()+width); + tmp_width=tmp_width<=1?tmp_width:1; + bline.front().set_width(tmp_width); } } - // If the bline only has once blinepoint, then there is nothing to do. + // If the bline only has one blinepoint, then there is nothing to do. if(bline.size()<=1) return Smach::RESULT_OK;