Bug 2116 "OpenWFCompositionEngine fails to compile enabling logs" NewGraphicsArchitecture
authorMatt Plumtree <matt.plumtree@nokia.com>
Wed, 04 Aug 2010 14:31:48 +0100
branchNewGraphicsArchitecture
changeset 139 975c90a56547
parent 135 1c608d9c6c51
child 140 13a436a0995b
Bug 2116 "OpenWFCompositionEngine fails to compile enabling logs"
graphicscomposition/openwfcompositionengine/adaptation/src/Platform/Graphics/symbian/owfscreen_displaychannel.cpp
graphicscomposition/openwfcompositionengine/composition/src/wfcelement.c
--- a/graphicscomposition/openwfcompositionengine/adaptation/src/Platform/Graphics/symbian/owfscreen_displaychannel.cpp	Thu Jul 29 19:13:12 2010 +0100
+++ b/graphicscomposition/openwfcompositionengine/adaptation/src/Platform/Graphics/symbian/owfscreen_displaychannel.cpp	Wed Aug 04 14:31:48 2010 +0100
@@ -136,7 +136,7 @@
             iScreenInfo.currentRotation = OWF_ROTATION_270;
             break;
         default:
-            DPRINT(("Unsupported rotation %d", rotation));
+            DPRINT(("Unsupported rotation %d", iDispChan.CurrentRotation()));
             User::Leave(KErrNotSupported);
         }
     
--- a/graphicscomposition/openwfcompositionengine/composition/src/wfcelement.c	Thu Jul 29 19:13:12 2010 +0100
+++ b/graphicscomposition/openwfcompositionengine/composition/src/wfcelement.c	Wed Aug 04 14:31:48 2010 +0100
@@ -232,7 +232,7 @@
     {
         if (fabs(rect[i]) > LIMIT)
         {
-#ifdef DEBUG
+#ifdef DEBUG_LOG
             static const char* coord[4] = {"x", "y", "width", "height"};
             (void)coord[0];
 #endif