OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /openrisc/trunk/or1ksim/argtable2
    from Rev 121 to Rev 143
    Reverse comparison

Rev 121 → Rev 143

/argtable2.c
969,7 → 969,8
/* Eat leading whitespaces. This is essential because while
wrapping lines, there will often be a whitespace at beginning
of line  */
while ( isspace(*(text+line_start)) )
/* JPB patch to cast argument */
while (isspace ((int) (*(text+line_start))) )
{ line_start++; }
 
if ((line_end - line_start) > colwidth )
978,7 → 979,7
/* Find last whitespace, that fits into line */
while ( ( line_end > line_start )
&& ( line_end - line_start > colwidth )
&& !isspace(*(text+line_end)))
&& !isspace ((int) (*(text+line_end))))
{ line_end--; }
 
/* Do not print trailing whitespace. If this text

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.