mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
ti fix (Michael Teichgräber)
This commit is contained in:
parent
7f420fb373
commit
b3178f6f5a
1 changed files with 3 additions and 0 deletions
|
@ -33,11 +33,13 @@ in(int v)
|
|||
{
|
||||
nr(L(".i0"), getnr(L(".i")));
|
||||
nr(L(".i"), v);
|
||||
nr(L(".ti"), 0);
|
||||
/* XXX */
|
||||
}
|
||||
void
|
||||
r_in(int argc, Rune **argv)
|
||||
{
|
||||
br();
|
||||
if(argc < 2)
|
||||
in(getnr(L(".i0")));
|
||||
else if(argv[1][0] == '+')
|
||||
|
@ -59,6 +61,7 @@ void
|
|||
r_ti(int argc, Rune **argv)
|
||||
{
|
||||
USED(argc);
|
||||
br();
|
||||
ti(evalscale(argv[1], 'm'));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue