fix line endings

master
Anchor Linden 2018-06-19 23:04:29 +05:30
parent 4aa45cb8e1
commit cb4ba0b15e
1 changed files with 29 additions and 29 deletions

View File

@ -1052,35 +1052,35 @@ S32 LLPrimitive::packTEField(U8 *cur_ptr, U8 *data_ptr, U8 data_size, U8 last_fa
}
}
//assign exception faces to cur_ptr
if (exception_faces >= ((U64)0x1 << 7))
{
if (exception_faces >= ((U64)0x1 << 14))
{
if (exception_faces >= ((U64)0x1 << 21))
{
if (exception_faces >= ((U64)0x1 << 28))
{
if (exception_faces >= ((U64)0x1 << 35))
{
if (exception_faces >= ((U64)0x1 << 42))
{
if (exception_faces >= ((U64)0x1 << 49))
{
*cur_ptr++ = (U8)(((exception_faces >> 49) & 0x7F) | 0x80);
}
*cur_ptr++ = (U8)(((exception_faces >> 42) & 0x7F) | 0x80);
}
*cur_ptr++ = (U8)(((exception_faces >> 35) & 0x7F) | 0x80);
}
*cur_ptr++ = (U8)(((exception_faces >> 28) & 0x7F) | 0x80);
}
*cur_ptr++ = (U8)(((exception_faces >> 21) & 0x7F) | 0x80);
}
*cur_ptr++ = (U8)(((exception_faces >> 14) & 0x7F) | 0x80);
}
*cur_ptr++ = (U8)(((exception_faces >> 7) & 0x7F) | 0x80);
}
//assign exception faces to cur_ptr
if (exception_faces >= ((U64)0x1 << 7))
{
if (exception_faces >= ((U64)0x1 << 14))
{
if (exception_faces >= ((U64)0x1 << 21))
{
if (exception_faces >= ((U64)0x1 << 28))
{
if (exception_faces >= ((U64)0x1 << 35))
{
if (exception_faces >= ((U64)0x1 << 42))
{
if (exception_faces >= ((U64)0x1 << 49))
{
*cur_ptr++ = (U8)(((exception_faces >> 49) & 0x7F) | 0x80);
}
*cur_ptr++ = (U8)(((exception_faces >> 42) & 0x7F) | 0x80);
}
*cur_ptr++ = (U8)(((exception_faces >> 35) & 0x7F) | 0x80);
}
*cur_ptr++ = (U8)(((exception_faces >> 28) & 0x7F) | 0x80);
}
*cur_ptr++ = (U8)(((exception_faces >> 21) & 0x7F) | 0x80);
}
*cur_ptr++ = (U8)(((exception_faces >> 14) & 0x7F) | 0x80);
}
*cur_ptr++ = (U8)(((exception_faces >> 7) & 0x7F) | 0x80);
}
*cur_ptr++ = (U8)(exception_faces & 0x7F);