mirror of
https://github.com/cc65/cc65.git
synced 2024-09-30 08:57:49 +00:00
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
@ -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…
Reference in New Issue
Block a user