Commented a very annoying debug message out.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15182 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -242,7 +242,7 @@ _BWidthBuffer_::GetEscapement(uint32 value, int32 index, float *escapement)
|
|||||||
const _width_table_ &table = fBuffer[index];
|
const _width_table_ &table = fBuffer[index];
|
||||||
const hashed_escapement *widths = static_cast<hashed_escapement *>(table.widths);
|
const hashed_escapement *widths = static_cast<hashed_escapement *>(table.widths);
|
||||||
uint32 hashed = Hash(value) & (table.tableCount - 1);
|
uint32 hashed = Hash(value) & (table.tableCount - 1);
|
||||||
|
|
||||||
DEBUG_ONLY(uint32 iterations = 1;)
|
DEBUG_ONLY(uint32 iterations = 1;)
|
||||||
uint32 found;
|
uint32 found;
|
||||||
while ((found = widths[hashed].code) != kInvalidCode) {
|
while ((found = widths[hashed].code) != kInvalidCode) {
|
||||||
@@ -253,15 +253,15 @@ _BWidthBuffer_::GetEscapement(uint32 value, int32 index, float *escapement)
|
|||||||
hashed = 0;
|
hashed = 0;
|
||||||
DEBUG_ONLY(iterations++;)
|
DEBUG_ONLY(iterations++;)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (found == kInvalidCode)
|
if (found == kInvalidCode)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
PRINT(("Value found with %d iterations\n", iterations));
|
//PRINT(("Value found with %d iterations\n", iterations));
|
||||||
|
|
||||||
if (escapement != NULL)
|
if (escapement != NULL)
|
||||||
*escapement = widths[hashed].escapement;
|
*escapement = widths[hashed].escapement;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user