Skip to content

Commit

Permalink
Fixes function parameter count
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff-1amstudios authored Nov 13, 2019
1 parent 5bd1c39 commit 1a00368
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bld/exedump/c/typewv.c
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,11 @@ static void param_type_index( unsigned_8 num_params, unsigned_8 *ptr )
{
unsigned_8 i;
unsigned_16 index;

if( *ptr & 0x80 ) {
num_params /= 2;
}

for( i = 0; i < num_params; i++ ) {
if (*ptr & 0x80) {
num_params--;
}
Wdputslc( "\n" );
Wdputs( " param " );
Putdec( i+1 );
Expand Down

0 comments on commit 1a00368

Please sign in to comment.