* Typos and coding style.
git-svn-id: svn://svn.zoy.org/elk/trunk@160 55e467fa-43c5-0310-a8a2-de718669efc6
This commit is contained in:
parent
831bbb8e8d
commit
d640876b57
|
@ -1,4 +1,4 @@
|
|||
/* load-dl.c
|
||||
/* loadlib.c
|
||||
*
|
||||
* $Id$
|
||||
*
|
||||
|
|
|
@ -63,12 +63,14 @@ SYMTAB *Snarf_Symbols (FILE *f) {
|
|||
end -= start;
|
||||
start = 0;
|
||||
i = fread (buffer + end, 1, BUFSIZ - end, f);
|
||||
if(i == 0) break;
|
||||
if (i == 0)
|
||||
break;
|
||||
end += i;
|
||||
}
|
||||
|
||||
for (i = start; i < end; i++)
|
||||
if(buffer[i] >= 0x20 && buffer[i] < 0x80) break;
|
||||
if (buffer[i] >= 0x20 && buffer[i] < 0x80)
|
||||
break;
|
||||
|
||||
if (i == end)
|
||||
continue;
|
||||
|
@ -76,7 +78,8 @@ SYMTAB *Snarf_Symbols (FILE *f) {
|
|||
start = i;
|
||||
|
||||
for (i = start + 1; i < end; i++)
|
||||
if(buffer[i] == 0) break;
|
||||
if (buffer[i] == 0)
|
||||
break;
|
||||
|
||||
if (i == end)
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue