Avoid a warning from g++ 4.3.
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 25 Jan 2008 13:11:59 +0000 (13:11 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 25 Jan 2008 13:11:59 +0000 (13:11 +0000)
git-svn-id: http://svn.voria.com/code@1469 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-core/trunk/src/synfig/context.cpp

index 144eba7..9ac1020 100644 (file)
@@ -264,7 +264,7 @@ Context::accelerated_render(Surface *surface,int quality, const RendDesc &rendde
        // using the appropriate 'amount'
        if (straight_and_empty)
        {
-               if (ret = Context((context+1)).accelerated_render(surface,quality,renddesc,cb))
+               if ((ret = Context((context+1)).accelerated_render(surface,quality,renddesc,cb)))
                {
                        Surface clearsurface;
                        clearsurface.set_wh(renddesc.get_w(),renddesc.get_h());