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.26 by ayin, Wed Oct 31 09:55:23 2007 UTC vs.
Revision 1.27 by root, Sun Mar 29 16:14:10 2009 UTC

288{ 288{
289 int l = 0; 289 int l = 0;
290 int r = sizeof (rxvt_compose_table) / sizeof (rxvt_compose_entry) - 1; 290 int r = sizeof (rxvt_compose_table) / sizeof (rxvt_compose_entry) - 1;
291 int m; 291 int m;
292 292
293 while (r > l) 293 while (r >= l)
294 { 294 {
295 m = (l + r) / 2; 295 m = (l + r) / 2;
296 rxvt_compose_entry &c = rxvt_compose_table[m]; 296 rxvt_compose_entry &c = rxvt_compose_table[m];
297 297
298 if (c.c1 < c1 || (c.c1 == c1 && c.c2 < c2)) 298 if (c.c1 < c1 || (c.c1 == c1 && c.c2 < c2))

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines