diff options
author | cinap_lenrek <cinap_lenrek@gmx.de> | 2012-06-18 21:26:28 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2012-06-18 21:26:28 +0200 |
commit | ae311094ad8f95c1ff5d06a8edd865579175922d (patch) | |
tree | d7054a1bed19d471b37a798ef48fd12397d875ae /sys/src/cmd/mothra/libpanel/edit.c | |
parent | 9428062b551f78a6a0bf0625568604d79d2ba632 (diff) |
mothra/webfs: multipart/form-data and file upload support
Diffstat (limited to 'sys/src/cmd/mothra/libpanel/edit.c')
-rw-r--r-- | sys/src/cmd/mothra/libpanel/edit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/src/cmd/mothra/libpanel/edit.c b/sys/src/cmd/mothra/libpanel/edit.c index afb52f776..e6d46c459 100644 --- a/sys/src/cmd/mothra/libpanel/edit.c +++ b/sys/src/cmd/mothra/libpanel/edit.c @@ -258,6 +258,7 @@ void plegetsel(Panel *p, int *sel0, int *sel1){ int plelen(Panel *p){ Textwin *t; t=((Edit *)p->data)->t; + if(t==0) return 0; return t->etext-t->text; } Rune *pleget(Panel *p){ |