ole32: Don't use the default debug channel before it has been defined.

Francois Gouget fgouget at free.fr
Thu Jan 8 07:15:32 CST 2009


---

It's only used in a macro definition so that does not really count. But 
it trips up my script which is annoying. Plus it's customary to have all 
the #includes first, then the debug channels, and only then the rest of 
the code.

 dlls/ole32/clipboard.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/ole32/clipboard.c b/dlls/ole32/clipboard.c
index a358654..8cfaffc 100644
--- a/dlls/ole32/clipboard.c
+++ b/dlls/ole32/clipboard.c
@@ -80,9 +80,10 @@
 
 #include "compobj_private.h"
 
+WINE_DEFAULT_DEBUG_CHANNEL(ole);
+
 #define HANDLE_ERROR(err) do { hr = err; TRACE("(HRESULT=%x)\n", (HRESULT)err); goto CLEANUP; } while (0)
 
-WINE_DEFAULT_DEBUG_CHANNEL(ole);
 
 /****************************************************************************
  * OLEClipbrd
-- 
1.5.6.5




More information about the wine-patches mailing list