Changed multi-line C comments into another style.
The left side doesn't look unbalanced.
This commit is contained in:
@@ -147,10 +147,10 @@ void WriteVar (FILE* F, unsigned long V)
|
||||
/* Write a variable sized value to the file in special encoding */
|
||||
{
|
||||
/* We will write the value to the file in 7 bit chunks. If the 8th bit
|
||||
* is clear, we're done, if it is set, another chunk follows. This will
|
||||
* allow us to encode smaller values with less bytes, at the expense of
|
||||
* needing 5 bytes if a 32 bit value is written to file.
|
||||
*/
|
||||
** is clear, we're done, if it is set, another chunk follows. This will
|
||||
** allow us to encode smaller values with less bytes, at the expense of
|
||||
** needing 5 bytes if a 32 bit value is written to file.
|
||||
*/
|
||||
do {
|
||||
unsigned char C = (V & 0x7F);
|
||||
V >>= 7;
|
||||
@@ -258,8 +258,8 @@ unsigned long ReadVar (FILE* F)
|
||||
/* Read a variable size value from the file */
|
||||
{
|
||||
/* The value was written to the file in 7 bit chunks LSB first. If there
|
||||
* are more bytes, bit 8 is set, otherwise it is clear.
|
||||
*/
|
||||
** are more bytes, bit 8 is set, otherwise it is clear.
|
||||
*/
|
||||
unsigned char C;
|
||||
unsigned long V = 0;
|
||||
unsigned Shift = 0;
|
||||
@@ -280,8 +280,8 @@ unsigned long ReadVar (FILE* F)
|
||||
|
||||
unsigned ReadStr (FILE* F)
|
||||
/* Read a string from the file, place it into the global string pool, and
|
||||
* return its string id.
|
||||
*/
|
||||
** return its string id.
|
||||
*/
|
||||
{
|
||||
unsigned Id;
|
||||
StrBuf Buf = STATIC_STRBUF_INITIALIZER;
|
||||
|
||||
Reference in New Issue
Block a user