--- rxvt-unicode/src/encoding.C 2010/12/14 08:01:51 1.29 +++ rxvt-unicode/src/encoding.C 2010/12/18 18:17:38 1.30 @@ -23,6 +23,7 @@ #include "../config.h" #include "encoding.h" +#include "rxvtutil.h" #include #include @@ -287,7 +288,7 @@ rxvt_compose (unicode_t c1, unicode_t c2) { int l = 0; - int r = sizeof (rxvt_compose_table) / sizeof (rxvt_compose_entry) - 1; + int r = ARRAY_LENGTH(rxvt_compose_table) - 1; int m; while (r >= l)