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:
@@ -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 ();
|
||||||
|
|||||||
Reference in New Issue
Block a user