aux/statusbar: use title as rio window title (thanks qrstuv)

This commit is contained in:
mischief 2015-08-18 01:24:22 -07:00
parent 7c3bbc3168
commit f785d4da07

View file

@ -204,7 +204,7 @@ main(int argc, char **argv)
textmode = 1; textmode = 1;
rbar = Rect(0, 0, 60, 1); rbar = Rect(0, 0, 60, 1);
}else{ }else{
if(initdraw(0, 0, "bar") < 0) if(initdraw(0, 0, title) < 0)
exits("initdraw"); exits("initdraw");
initcolor(); initcolor();
einit(Emouse|Ekeyboard); einit(Emouse|Ekeyboard);