diff options
| author | Quentin Carbonneaux | 2014-08-26 14:35:48 -0400 |
|---|---|---|
| committer | Quentin Carbonneaux | 2014-08-26 14:39:04 -0400 |
| commit | d6ad5497539563429c2230ec14dfe40e1b7dbdba (patch) | |
| tree | 9c05480ee70c0bf8adece3328c6177c6345b747c | |
| parent | c0db2c17bca4d0349edfd21504b0ad7c8b9f7fc4 (diff) | |
small bug fix in win_new
| -rw-r--r-- | win.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -79,9 +79,10 @@ win_new(EBuf *eb) for (i=0; (w = screen[i]) && screen[i+1]; i++) ; - if (!w) + if (!w) { + x = 0; size = fwidth; - else { + } else { size = w->gr.w - w->gr.w/2 - g->border; move(w, w->gr.x, 0, w->gr.w/2, fheight); x = w->gr.x + w->gr.w + g->border; |
