mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 14:40:56 +00:00
dbghelp: Indent the code as the rest of dbghelp module.
This commit is contained in:
parent
cca3d1ad0c
commit
54d6f8cc45
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user