/*
*
- * (C) Copyright IBM Corp. 1998-2004 - All Rights Reserved
+ * (C) Copyright IBM Corp. 1998-2006 - All Rights Reserved
*
*/
le_uint16 probe = power;
le_uint16 index = 0;
+ if (count == 0) {
+ return -1;
+ }
+
if (SWAPW(glyphArray[extra]) <= ttGlyphID) {
index = extra;
}