On 01/27/2011 07:42 PM, Alexander Scott-Johns wrote:





+                    FIXME("Called to synthesize unknown format 0x%08x\n", 
wFormatID);
Formats defined as decimal, so you should print it as decimal.

+    if ((lpSource = X11DRV_CLIPBOARD_LookupData(CF_ENHMETAFILE)) && 
lpSource->hData)
+    {
+        bret = TRUE;
+    }
Just do "return TRUE". It will remove one level of indentation.

+                void *mf_bits = HeapAlloc(GetProcessHeap(), 0, size_mf_bits);
+                GetMetaFileBitsEx(pmfp->hMF, size_mf_bits, mf_bits);
Please check if allocation succeeded.

Vitaliy.


Reply via email to