tdumb porting bugs - plan9port - [fork] Plan 9 from user space
 (HTM) git clone git://src.adamsgaard.dk/plan9port
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 2189e55cde473b2a81492759526f824b0ecd227e
 (DIR) parent 9939daadf495628fbfcbc2d773983b1fb3d22a60
 (HTM) Author: rsc <devnull@localhost>
       Date:   Mon, 27 Dec 2004 16:57:41 +0000
       
       dumb porting bugs
       
       Diffstat:
         M src/cmd/acme/text.c                 |       4 ++--
       
       1 file changed, 2 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/src/cmd/acme/text.c b/src/cmd/acme/text.c
       t@@ -193,7 +193,7 @@ textload(Text *t, uint q0, char *file, int setqid)
        
                if(t->ncache!=0 || t->file->b.nc || t->w==nil || t!=&t->w->body || (t->w->isdir && t->file->nname==0))
                        error("text.load");
       -        if(t->w->isdir && t->file.nname==0){
       +        if(t->w->isdir && t->file->nname==0){
                        warning(nil, "empty directory name");
                        return 0;
                }
       t@@ -652,7 +652,7 @@ texttype(Text *t, Rune r)
                                if(t->w)
                                        wincommit(t->w, t);
                                else
       -                                textcommit(t->w, TRUE);
       +                                textcommit(t, TRUE);
                                textshow(t, t->q0-1, t->q0-1, TRUE);
                        }
                        return;