… | |
… | |
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)) |