mirror of
https://github.com/cc65/cc65.git
synced 2024-09-29 02:55:20 +00:00
Merge pull request #347 from groessler/something_to_pull
Fix some typos.
This commit is contained in:
commit
32d4937363
@ -337,7 +337,7 @@ A word of caution: Since the <tt/0x00/ character has to be mapped in an
|
|||||||
incompatible way to the C-standard, the usage of string functions in
|
incompatible way to the C-standard, the usage of string functions in
|
||||||
conjunction with internal character mapped strings delivers unexpected
|
conjunction with internal character mapped strings delivers unexpected
|
||||||
results regarding the string length. The end of strings are detected where
|
results regarding the string length. The end of strings are detected where
|
||||||
you may not expect them (to early or (much) to late). Internal mapped
|
you may not expect them (too early or (much) too late). Internal mapped
|
||||||
strings typically support the "<tt/mem...()/" functions.
|
strings typically support the "<tt/mem...()/" functions.
|
||||||
|
|
||||||
<em>For assembler sources the macro "<tt/scrcode/" from the "<tt/atari.mac/"
|
<em>For assembler sources the macro "<tt/scrcode/" from the "<tt/atari.mac/"
|
||||||
|
@ -408,7 +408,7 @@ static void IFNextChar (CharSource* S)
|
|||||||
|
|
||||||
/* If we come here, we have a new input line. To avoid problems
|
/* If we come here, we have a new input line. To avoid problems
|
||||||
** with strange line terminators, remove all whitespace from the
|
** with strange line terminators, remove all whitespace from the
|
||||||
** end of the line, the add a single newline.
|
** end of the line, then add a single newline.
|
||||||
*/
|
*/
|
||||||
Len = SB_GetLen (&S->V.File.Line);
|
Len = SB_GetLen (&S->V.File.Line);
|
||||||
while (Len > 0 && IsSpace (SB_AtUnchecked (&S->V.File.Line, Len-1))) {
|
while (Len > 0 && IsSpace (SB_AtUnchecked (&S->V.File.Line, Len-1))) {
|
||||||
|
Loading…
Reference in New Issue
Block a user