pike.git/
src/
builtin_functions.c
Branch:
Tag:
Non-build tags
All tags
No tags
1999-11-22
1999-11-22 21:01:43 by Henrik Grubbström (Grubba) <grubba@grubba.org>
ea00b926e5f5aee94d3b13fb6dade3858c4fd17c (
5
lines) (+
3
/-
2
)
[
Show
|
Annotate
]
Branch:
7.9
Fixed typo in String.width().
Rev: src/builtin_functions.c:1.208
5:
\*/ /**/ #include "global.h"
-
RCSID("$Id: builtin_functions.c,v 1.
207
1999/11/
14
20
:
14
:
46
mast
Exp $");
+
RCSID("$Id: builtin_functions.c,v 1.
208
1999/11/
22
21
:
01
:
43
grubba
Exp $");
#include "interpret.h" #include "svalue.h" #include "pike_macros.h"
5132:
{ struct pike_string *s; int ret;
-
get_all_args("String.width",args,"%
S
",&s);
+
get_all_args("String.width",args,"%
W
",&s);
ret=s->size_shift; pop_n_elems(args); push_int(8 * (1<<ret));