From 357ae9866a31f22555c223d9534b9c22a9eb37e3 Mon Sep 17 00:00:00 2001 From: "Mirar (Pontus Hagland)" <pike@sort.mirar.org> Date: Mon, 1 Nov 1999 16:11:09 +0100 Subject: [PATCH] added flag_left to object _sprintf Rev: src/modules/sprintf/sprintf.c:1.60 --- src/modules/sprintf/sprintf.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/modules/sprintf/sprintf.c b/src/modules/sprintf/sprintf.c index 93b4a8fcc4..bb2955ea18 100644 --- a/src/modules/sprintf/sprintf.c +++ b/src/modules/sprintf/sprintf.c @@ -102,7 +102,7 @@ */ #include "global.h" -RCSID("$Id: sprintf.c,v 1.59 1999/11/01 14:34:24 mirar Exp $"); +RCSID("$Id: sprintf.c,v 1.60 1999/11/01 15:11:09 mirar Exp $"); #include "error.h" #include "array.h" #include "svalue.h" @@ -743,23 +743,23 @@ INLINE static int do_one(struct format_stack *fs, if(sv->type == T_OBJECT && sv->u.object->prog) \ { \ int fun=FIND_LFUN(sv->u.object->prog, LFUN__SPRINTF); \ - if(fun != -1) \ + if (fun != -1) \ { \ int n=0; \ push_int(EXTRACT_PCHARP(a)); \ - if(fs->fsp->precision!=SPRINTF_UNDECIDED) \ + if (fs->fsp->precision!=SPRINTF_UNDECIDED) \ { \ push_constant_text("precision"); \ push_int(fs->fsp->precision); \ n+=2; \ } \ - if(fs->fsp->width!=SPRINTF_UNDECIDED) \ + if (fs->fsp->width!=SPRINTF_UNDECIDED) \ { \ push_constant_text("width"); \ push_int(fs->fsp->width); \ n+=2; \ } \ - if((fs->fsp->flags&FIELD_LEFT)) + if ((fs->fsp->flags&FIELD_LEFT)) \ { \ push_constant_text("flag_left"); \ push_int(1); \ -- GitLab