mirror of
https://github.com/cc65/cc65.git
synced 2024-12-26 08:32:00 +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 */
|
||||
SB_Printf (&R1, SB_GetConstBuf (&F1), CurTok.SVal);
|
||||
SB_Printf (&R1, SB_GetConstBuf (&F1), SB_GetConstBuf (&CurTok.SVal));
|
||||
|
||||
/* Skip the string constant */
|
||||
NextTok ();
|
||||
|
Loading…
Reference in New Issue
Block a user