From a9446b9c5c9211ec7a6a446e08c7a70116439f8c Mon Sep 17 00:00:00 2001 From: Andrew Talbot Date: Wed, 7 Feb 2007 20:32:15 +0000 Subject: [PATCH] winex11.drv: Remove unused items. --- dlls/winex11.drv/clipboard.c | 1 - dlls/winex11.drv/codepage.c | 16 ---------------- 2 files changed, 17 deletions(-) diff --git a/dlls/winex11.drv/clipboard.c b/dlls/winex11.drv/clipboard.c index 157c0e5688d..cf3aa9a4035 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 7611735b5e5..fe918bc6313 100644 --- a/dlls/winex11.drv/codepage.c +++ b/dlls/winex11.drv/codepage.c @@ -62,13 +62,6 @@ int IsLegalDBCSChar_cp950( BYTE lead, BYTE trail ) ( 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* pch, BYTE lead, BYTE trail ) 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 ) {