mirror of
https://github.com/0intro/wmii
synced 2024-11-22 05:42:05 +03:00
fixed writing to /view/X/mode
This commit is contained in:
parent
2007eebaae
commit
16eba3214a
@ -228,8 +228,6 @@ qid2name(Qid *qid)
|
||||
case FsFmode:
|
||||
if((qid->dir_type == FsDarea) && (i1 == -1 || i2 == -1))
|
||||
return nil;
|
||||
else if(qid->dir_type != FsDdef)
|
||||
return nil;
|
||||
if(qid->dir_type == FsDdef)
|
||||
return "colmode";
|
||||
else
|
||||
@ -410,8 +408,6 @@ mkqid(Qid *dir, char *wname, Qid *new)
|
||||
case FsFmode:
|
||||
if((dir_type == FsDarea) && (dir_i1 == -1 || dir_i2 == -1))
|
||||
return -1;
|
||||
if(dir_type != FsDdef)
|
||||
return -1;
|
||||
goto Mkfile;
|
||||
break;
|
||||
case FsFgeom:
|
||||
|
Loading…
Reference in New Issue
Block a user