mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-01 20:30:28 +02:00
fix
This commit is contained in:
parent
6822fe53c9
commit
52235e7173
1 changed files with 3 additions and 3 deletions
|
@ -693,10 +693,10 @@ scm_prin1 (exp, port, writingp)
|
|||
/* If PORT is a print-state/port pair, use that. Else create a new
|
||||
print-state. */
|
||||
|
||||
if (SCM_NIMP (port) && SCM_CONSP (port))
|
||||
if (SCM_NIMP (port) && SCM_PORT_WITH_PS_P (port))
|
||||
{
|
||||
pstate_scm = SCM_CDR (port);
|
||||
port = SCM_CAR (port);
|
||||
pstate_scm = SCM_PORT_WITH_PS_PS (port);
|
||||
port = SCM_PORT_WITH_PS_PORT (port);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue