Andrew Talbot : winex11.drv: Remove unused items.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Feb 8 06:20:19 CST 2007


Module: wine
Branch: master
Commit: a9446b9c5c9211ec7a6a446e08c7a70116439f8c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a9446b9c5c9211ec7a6a446e08c7a70116439f8c

Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date:   Wed Feb  7 20:32:15 2007 +0000

winex11.drv: Remove unused items.

---

 dlls/winex11.drv/clipboard.c |    1 -
 dlls/winex11.drv/codepage.c  |   16 ----------------
 2 files changed, 0 insertions(+), 17 deletions(-)

diff --git a/dlls/winex11.drv/clipboard.c b/dlls/winex11.drv/clipboard.c
index 157c0e5..cf3aa9a 100644
--- a/dlls/winex11.drv/clipboard.c
+++ b/dlls/winex11.drv/clipboard.c
@@ -287,7 +287,6 @@ static WINE_CLIPFORMAT ClipFormats[]  =
 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 --git a/dlls/winex11.drv/codepage.c b/dlls/winex11.drv/codepage.c
index 7611735..fe918bc 100644
--- a/dlls/winex11.drv/codepage.c
+++ b/dlls/winex11.drv/codepage.c
@@ -62,13 +62,6 @@ int IsLegalDBCSChar_cp950( BYTE lead, BY
 	       ( 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 @@ void DBCSCharToXChar2b_cp932( XChar2b* p
     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-cvs mailing list