From 87ce9c04e961b241578e159b813c8b2f338d813b Mon Sep 17 00:00:00 2001 From: dooglus Date: Sat, 24 Mar 2007 19:43:48 +0000 Subject: [PATCH] The '-g gamma' argument is currently ignored, but that shouldn't stop it being a legal argument. git-svn-id: http://svn.voria.com/code@382 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-core/trunk/src/tool/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/synfig-core/trunk/src/tool/main.cpp b/synfig-core/trunk/src/tool/main.cpp index 412a5ba..387670d 100644 --- a/synfig-core/trunk/src/tool/main.cpp +++ b/synfig-core/trunk/src/tool/main.cpp @@ -682,10 +682,10 @@ int extract_RendDesc(arg_list_t &arg_list,RendDesc &desc) else if(*iter=="-g") { synfig::warning("Gamma argument is currently ignored"); - //arg_list.erase(iter); - //iter=next++; + arg_list.erase(iter); + iter=next++; //desc.set_gamma(Gamma(atof(iter->c_str()))); - //arg_list.erase(iter); + arg_list.erase(iter); } } if(w&&h) -- 2.7.4