bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Not a bug - but I need some help...


From: Thomas E. Dickey
Subject: RE: Not a bug - but I need some help...
Date: Thu, 27 Feb 2003 11:38:37 -0500 (EST)

On Thu, 27 Feb 2003, jon wackley wrote:

>
> Thanks Thomas.  Just to be on the safe side I generally use snprintf.  Is
> this overkill?

probably - since wprintw does its own formatting.

>
> Thanks,
> jonw
>
> > -----Original Message-----
> > From: Thomas E. Dickey [mailto:address@hidden
> > Sent: February 27, 2003 5:24 AM
> > To: jon wackley
> > Cc: address@hidden; 'Mike Aubury'; address@hidden
> > Subject: RE: Not a bug - but I need some help...
> >
> >
> > On Wed, 26 Feb 2003, jon wackley wrote:
> >
> > >
> > > Hi,
> > >
> > > Should the format line below be;
> > >
> > > wprintw("%.*s", n, s)
> >
> > actually I should have give this more like
> >     wprintw(w, "%.*s", n, s);
> >
> > but yes, the PREC referred to in the printf manpage applies here.
> > I use this in several places.
> >
> > --
> > T.E.Dickey <address@hidden>
> > http://invisible-island.net
> > ftp://invisible-island.net
> >
>
>

-- 
T.E.Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]