~ubuntu-branches/ubuntu/lucid/mc/lucid

« back to all changes in this revision

Viewing changes to slang/slupper.c

  • Committer: Bazaar Package Importer
  • Author(s): Patrick Winnertz
  • Date: 2008-09-16 10:38:59 UTC
  • mfrom: (3.1.6 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080916103859-2uwn8w61xk5mbxxq
Tags: 2:4.6.2~git20080311-4
Corrected fix for odt2txt issue (Closes: #492019) 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include "slinclud.h"
 
2
#include <ctype.h>
 
3
 
 
4
#include "slang.h"
 
5
#include "_slang.h"
 
6
 
 
7
#define DEFINE_PSLWC_TOUPPER_TABLE
 
8
#include "slupper.h"
 
9
 
 
10
 
 
11
#define MODE_VARIABLE _pSLinterp_UTF8_Mode
 
12
SLwchar_Type SLwchar_toupper (SLwchar_Type ch)
 
13
{
 
14
   if (MODE_VARIABLE)
 
15
     return ch + SL_TOUPPER_LOOKUP(ch);
 
16
 
 
17
   return toupper (ch);
 
18
}