X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=minibidi.c;h=6c0621162218dd2c27c497ca5569dc916b244778;hb=510f49e405e71ba5c97875e7a019364e1ef5fac9;hp=f2c68c4f8afc941851cb34be33136cb21f8340f5;hpb=053d2ba6d1c35c3d3c77bbc48bfd31fd8628ed35;p=PuTTY.git diff --git a/minibidi.c b/minibidi.c index f2c68c4f..6c062116 100644 --- a/minibidi.c +++ b/minibidi.c @@ -1,5 +1,4 @@ /************************************************************************ - * $Id$ * * ------------ * Description: @@ -11,13 +10,6 @@ * * Author: Ahmad Khalifa * - * ----------------- - * Revision Details: (Updated by Revision Control System) - * ----------------- - * $Date$ - * $Author$ - * $Revision$ - * * (www.arabeyes.org - under MIT license) * ************************************************************************/ @@ -70,7 +62,7 @@ unsigned char setOverrideBits(unsigned char level, unsigned char override); int getPreviousLevel(unsigned char* level, int from); int do_shape(bidi_char *line, bidi_char *to, int count); int do_bidi(bidi_char *line, int count); -void doMirror(wchar_t* ch); +void doMirror(unsigned int *ch); /* character types */ enum { @@ -1636,7 +1628,7 @@ int do_bidi(bidi_char *line, int count) * takes a pointer to a character that is checked for * having a mirror glyph. */ -void doMirror(wchar_t* ch) +void doMirror(unsigned int *ch) { if ((*ch & 0xFF00) == 0) { switch (*ch) {