Minor fix to formatted I/O.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@946 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
91f1418007
commit
9afcb30f8b
1 changed files with 1 additions and 1 deletions
|
|
@ -265,7 +265,7 @@ DohvPrintf(DOH *so, const char *format, va_list ap)
|
|||
doh = va_arg(ap, DOH *);
|
||||
if (DohCheck(doh)) {
|
||||
/* Is a DOH object. */
|
||||
if (DohIsString(doh)) {
|
||||
if (DohIsString(doh) && (ObjType(doh) == DOHTYPE_STRING)) {
|
||||
Sval = doh;
|
||||
} else {
|
||||
Sval = Str(doh);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue