diff options
author | Julien Cristau <jcristau@debian.org> | 2014-05-08 19:28:28 +0200 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-05-20 21:45:03 -0700 |
commit | 013df6f7d4ad0f3f2a74993733fc62ab67ffd484 (patch) | |
tree | 2e080ad71507d393b5c723616809fa590aedf65e | |
parent | 62daf761ea5e7c810d305c84426a8769db785979 (diff) |
Delete unused CopyISOLatin1Lowered function
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | difs/difsutils.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/difs/difsutils.c b/difs/difsutils.c index 0dd99b5..7e350c6 100644 --- a/difs/difsutils.c +++ b/difs/difsutils.c @@ -189,26 +189,6 @@ XpClientIsPrintClient(ClientPtr client, FontPathElementPtr fpe) return FALSE; } -void -CopyISOLatin1Lowered(char *d, const char *s, int length) -{ - register int i; - unsigned char *dest = (unsigned char *)d; - const unsigned char *source = (const unsigned char *)s; - - for (i = 0; i < length; i++, source++, dest++) { - if ((*source >= XK_A) && (*source <= XK_Z)) - *dest = *source + (XK_a - XK_A); - else if ((*source >= XK_Agrave) && (*source <= XK_Odiaeresis)) - *dest = *source + (XK_agrave - XK_Agrave); - else if ((*source >= XK_Ooblique) && (*source <= XK_Thorn)) - *dest = *source + (XK_oslash - XK_Ooblique); - else - *dest = *source; - } - *dest = '\0'; -} - int strncmpnocase( const char *first, |