dbghelp: Indent the code as the rest of dbghelp module.

This commit is contained in:
Eric Pouech 2006-06-18 21:32:30 +02:00 committed by Alexandre Julliard
parent cca3d1ad0c
commit 54d6f8cc45

View File

@ -207,13 +207,13 @@ static unsigned long dwarf2_leb128_as_unsigned(dwarf2_traverse_context_t* ctx)
assert( NULL != ctx );
while (1) {
while (1)
{
byte = dwarf2_parse_byte(ctx);
ret |= (byte & 0x7f) << shift;
shift += 7;
if (0 == (byte & 0x80)) { break ; }
}
return ret;
}
@ -226,7 +226,8 @@ static long dwarf2_leb128_as_signed(dwarf2_traverse_context_t* ctx)
assert( NULL != ctx );
while (1) {
while (1)
{
byte = dwarf2_parse_byte(ctx);
ret |= (byte & 0x7f) << shift;
shift += 7;
@ -235,7 +236,8 @@ static long dwarf2_leb128_as_signed(dwarf2_traverse_context_t* ctx)
/* as spec: sign bit of byte is 2nd high order bit (80x40)
* -> 0x80 is used as flag.
*/
if ((shift < size) && (byte & 0x40)) {
if ((shift < size) && (byte & 0x40))
{
ret |= - (1 << shift);
}
return ret;