From: dooglus Date: Fri, 25 Jan 2008 13:11:59 +0000 (+0000) Subject: Avoid a warning from g++ 4.3. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=88622a07ec1a494b56618cbbb51cbef2fbfda928;p=synfig.git Avoid a warning from g++ 4.3. git-svn-id: http://svn.voria.com/code@1469 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-core/trunk/src/synfig/context.cpp b/synfig-core/trunk/src/synfig/context.cpp index 144eba7..9ac1020 100644 --- a/synfig-core/trunk/src/synfig/context.cpp +++ b/synfig-core/trunk/src/synfig/context.cpp @@ -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());