/*
*
- * (C) Copyright IBM Corp. 1998-2004 - All Rights Reserved
+ * (C) Copyright IBM Corp. 1998-2006 - All Rights Reserved
*
*/
le_int32 probe = power;
le_int32 range = 0;
+ if (recordCount == 0) {
+ return -1;
+ }
+
if (SWAPW(records[extra].firstGlyph) <= glyphID) {
range = extra;
}