Fix problem with output of sprintf when %s format spec is used.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5029 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
c4492130c4
commit
f2517269ad
1 changed files with 2 additions and 2 deletions
|
@ -548,7 +548,7 @@ static void FuncSPrintF (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Format this argument according to the spec */
|
/* Format this argument according to the spec */
|
||||||
SB_Printf (&R1, SB_GetConstBuf (&F1), CurTok.SVal);
|
SB_Printf (&R1, SB_GetConstBuf (&F1), SB_GetConstBuf (&CurTok.SVal));
|
||||||
|
|
||||||
/* Skip the string constant */
|
/* Skip the string constant */
|
||||||
NextTok ();
|
NextTok ();
|
||||||
|
@ -612,7 +612,7 @@ static void FuncSPrintF (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
static void FuncString (void)
|
static void FuncString (void)
|
||||||
/* Handle the .STRING function */
|
/* Handle the .STRING function */
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue