ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/encoding.C
(Generate patch)

Comparing rxvt-unicode/src/encoding.C (file contents):
Revision 1.31 by root, Mon Feb 21 07:41:00 2011 UTC vs.
Revision 1.33 by sf-exg, Thu Jan 19 13:33:43 2012 UTC

23#include "../config.h" 23#include "../config.h"
24 24
25#include "encoding.h" 25#include "encoding.h"
26#include "rxvtutil.h" 26#include "rxvtutil.h"
27 27
28#include <cstdlib> 28#include <stdlib.h>
29#include <cstring> 29#include <string.h>
30 30
31static const struct n2cs { 31static const struct n2cs {
32 const char *name; 32 const char *name;
33 codeset cs; 33 codeset cs;
34} n2cs[] = { 34} n2cs[] = {
286 286
287unicode_t 287unicode_t
288rxvt_compose (unicode_t c1, unicode_t c2) 288rxvt_compose (unicode_t c1, unicode_t c2)
289{ 289{
290 int l = 0; 290 int l = 0;
291 int r = ARRAY_LENGTH(rxvt_compose_table) - 1; 291 int r = ecb_array_length (rxvt_compose_table) - 1;
292 int m; 292 int m;
293 293
294 while (r >= l) 294 while (r >= l)
295 { 295 {
296 m = (l + r) / 2; 296 m = (l + r) / 2;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines