windows
This commit is contained in:
@@ -456,7 +456,7 @@ kbdputc(Queue *q, int c)
|
||||
kc[nk++] = c;
|
||||
c = latin1(kc, nk);
|
||||
if(c < -1) /* need more keystrokes */
|
||||
return;
|
||||
return 0;
|
||||
if(c != -1) /* valid sequence */
|
||||
_kbdputc(c);
|
||||
else
|
||||
|
@@ -59,7 +59,7 @@ kproc(char *name, void (*fn)(void*), void *arg)
|
||||
p->fgrp = up->fgrp;
|
||||
if(p->fgrp)
|
||||
incref(&p->fgrp->ref);
|
||||
strecpy(p->text, sizeof p->text, name);
|
||||
strecpy(p->text, p->text+sizeof p->text, name);
|
||||
|
||||
osproc(p);
|
||||
return p->pid;
|
||||
|
Reference in New Issue
Block a user