winex11.drv: Remove unused items

Andrew Talbot Andrew.Talbot at talbotville.com
Wed Feb 7 14:32:15 CST 2007


Changelog:
    winex11.drv: Remove unused items.

diff -urN a/dlls/winex11.drv/clipboard.c b/dlls/winex11.drv/clipboard.c
--- a/dlls/winex11.drv/clipboard.c	2006-12-12 17:26:11.000000000 +0000
+++ b/dlls/winex11.drv/clipboard.c	2007-02-07 19:06:56.000000000 +0000
@@ -287,7 +287,6 @@
 static const WCHAR wszRichTextFormat[] = {'R','i','c','h',' ','T','e','x','t',' ','F','o','r','m','a','t',0};
 static const WCHAR wszGIF[] = {'G','I','F',0};
 static const WCHAR wszHTMLFormat[] = {'H','T','M','L',' ','F','o','r','m','a','t',0};
-static const WCHAR wszRICHHTMLFormat[] = {'H','T','M','L',' ','F','o','r','m','a','t',0};
 static const struct
 {
     LPCWSTR lpszFormat;
diff -urN a/dlls/winex11.drv/codepage.c b/dlls/winex11.drv/codepage.c
--- a/dlls/winex11.drv/codepage.c	2006-09-11 12:05:54.000000000 +0100
+++ b/dlls/winex11.drv/codepage.c	2007-02-07 19:27:29.000000000 +0000
@@ -62,13 +62,6 @@
 	       ( trail >= (BYTE)0xa1 && trail <= (BYTE)0xfe ) ) );
 }
 
-static inline
-int IsLegalDBCSChar_euc( BYTE lead, BYTE trail )
-{
-    return ( ( lead >= (BYTE)0xa1 && lead <= (BYTE)0xfe ) &&
-             ( trail >= (BYTE)0xa1 && trail <= (BYTE)0xfe ) );
-}
-
 
 /***********************************************************************
  *           DBCSCharToXChar2b for cp932/euc
@@ -103,15 +96,6 @@
     pch->byte2 = (unsigned char)low;
 }
 
-static inline
-void DBCSCharToXChar2b_euc( XChar2b* pch, BYTE lead, BYTE trail )
-{
-    pch->byte1 = lead & (BYTE)0x7f;
-    pch->byte2 = trail & (BYTE)0x7f;
-}
-
-
-
 
 static WORD X11DRV_enum_subfont_charset_normal( UINT index )
 {



More information about the wine-patches mailing list