mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-10 14:00:21 +02:00
* print.c (scm_simple_format): Be case-insensitive for ~A and ~S
directives.
This commit is contained in:
parent
528d8ce991
commit
cc6f0237bd
1 changed files with 2 additions and 2 deletions
|
@ -988,9 +988,9 @@ SCM_DEFINE (scm_simple_format, "simple-format", 2, 0, 1,
|
|||
continue;
|
||||
|
||||
++p;
|
||||
if (*p == 'A')
|
||||
if (*p == 'A' || *p == 'a')
|
||||
writingp = 0;
|
||||
else if (*p == 'S')
|
||||
else if (*p == 'S' || *p == 's')
|
||||
writingp = 1;
|
||||
else
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue