mirror of
https://github.com/0intro/wmii
synced 2024-11-22 13:52:17 +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:
|
case FsFmode:
|
||||||
if((qid->dir_type == FsDarea) && (i1 == -1 || i2 == -1))
|
if((qid->dir_type == FsDarea) && (i1 == -1 || i2 == -1))
|
||||||
return nil;
|
return nil;
|
||||||
else if(qid->dir_type != FsDdef)
|
|
||||||
return nil;
|
|
||||||
if(qid->dir_type == FsDdef)
|
if(qid->dir_type == FsDdef)
|
||||||
return "colmode";
|
return "colmode";
|
||||||
else
|
else
|
||||||
@ -410,8 +408,6 @@ mkqid(Qid *dir, char *wname, Qid *new)
|
|||||||
case FsFmode:
|
case FsFmode:
|
||||||
if((dir_type == FsDarea) && (dir_i1 == -1 || dir_i2 == -1))
|
if((dir_type == FsDarea) && (dir_i1 == -1 || dir_i2 == -1))
|
||||||
return -1;
|
return -1;
|
||||||
if(dir_type != FsDdef)
|
|
||||||
return -1;
|
|
||||||
goto Mkfile;
|
goto Mkfile;
|
||||||
break;
|
break;
|
||||||
case FsFgeom:
|
case FsFgeom:
|
||||||
|
Loading…
Reference in New Issue
Block a user