summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6007e71)
raw | patch | inline | side by side (parent: 6007e71)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sat, 12 Jun 2010 14:04:02 +0000 (16:04 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sat, 12 Jun 2010 14:04:02 +0000 (16:04 +0200) |
I don't understand what I'm doing different to previously, but whatever
it is it seems to do the trick.
it is it seems to do the trick.
src/oping.c | patch | blob | history |
diff --git a/src/oping.c b/src/oping.c
index 4f9c5f3e245aa2974b701761c75501973d75c791..f8f7dd6f1df68d8829b35fcc8a9a12735a814e28 100644 (file)
--- a/src/oping.c
+++ b/src/oping.c
return (EINVAL);
main_win_height = height - (4 * host_num);
-#if 1
- wresize (main_win, main_win_height, /* width = */ 0);
-#else
- delwin (main_win);
- main_win = newwin (/* height = */ main_win_height,
- /* width = */ 0,
- /* y = */ 0, /* x = */ 0);
-#endif
+ wresize (main_win, main_win_height, /* width = */ width);
/* Allow scrolling */
scrollok (main_win, TRUE);
/* wsetscrreg (main_win, 0, main_win_height - 1); */