aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/acme/ecmd.c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-05-07 22:42:06 +0000
committerrsc <devnull@localhost>2005-05-07 22:42:06 +0000
commitbb0266fe6137ecd81eea1c74e34723c5a1bc4caf (patch)
treeeabd639cfa662d05748e899f16573e1f739cd070 /src/cmd/acme/ecmd.c
parentbc7da02954403d4b46285b8f87a62d60c5eb58f8 (diff)
downloadplan9port-bb0266fe6137ecd81eea1c74e34723c5a1bc4caf.tar.gz
plan9port-bb0266fe6137ecd81eea1c74e34723c5a1bc4caf.tar.bz2
plan9port-bb0266fe6137ecd81eea1c74e34723c5a1bc4caf.zip
no wide character constants; sigh
Diffstat (limited to 'src/cmd/acme/ecmd.c')
-rw-r--r--src/cmd/acme/ecmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/acme/ecmd.c b/src/cmd/acme/ecmd.c
index eed45503..6fef0698 100644
--- a/src/cmd/acme/ecmd.c
+++ b/src/cmd/acme/ecmd.c
@@ -479,7 +479,7 @@ s_cmd(Text *t, Cmd *cp)
buf = allocstring(0);
for(m=0; m<nrp; m++){
buf->n = 0;
- buf->r[0] = L'\0';
+ buf->r[0] = '\0';
sel = rp[m];
for(i = 0; i<cp->u.text->n; i++)
if((c = cp->u.text->r[i])=='\\' && i<cp->u.text->n-1){
@@ -761,7 +761,7 @@ pdisplay(File *f)
if(np>RBUFSIZE-1)
np = RBUFSIZE-1;
bufread(&f->b, p1, buf, np);
- buf[np] = L'\0';
+ buf[np] = '\0';
warning(nil, "%S", buf);
p1 += np;
}