PATCH: dlls/comctl32/tests/imagelist.c

Gerald Pfeifer gerald at pfeifer.com
Wed Oct 13 03:39:24 CDT 2004


Notice by my nightly builds.  This function is not used at all, so
an alternative approach might be to completely yank it.

ChangeLog:
Completely disable unused function show_image().
Index: imagelist.c
===================================================================
RCS file: /home/wine/wine/dlls/comctl32/tests/imagelist.c,v
retrieving revision 1.7
diff -u -3 -p -r1.7 imagelist.c
--- imagelist.c	7 Oct 2004 17:34:56 -0000	1.7
+++ imagelist.c	13 Oct 2004 08:38:37 -0000
@@ -155,10 +155,10 @@ static HDC show_image(HWND hwnd, HIMAGEL
      return hdc;
  }

+#if 0
  /* Useful for checking differences */
  static void dump_bits(const BYTE *p, const BYTE *q, int size)
  {
-#if 0
    int i, j;

    size /= 8;
@@ -176,8 +176,8 @@ static void dump_bits(const BYTE *p, con
        q += size * 4;
    }
    printf("\n");
-#endif
  }
+#endif

  static void check_bits(HWND hwnd, HIMAGELIST himl, int idx, int size,
                         const BYTE *checkbits, LPCSTR loc)



More information about the wine-patches mailing list