* tui-tui.win.c (tui_resize_all): Use erase and clearok instead
of clear.
2012-03-16 Chris January <chris.january@allinea.com>
+ * tui-tui.win.c (tui_resize_all): Use erase and clearok instead
+ of clear.
+
+2012-03-16 Chris January <chris.january@allinea.com>
+
* source.c (add_path): Use memmove instead of strcpy because the
strings overlap.
if (height_diff < 0)
cmd_split_diff--;
else
- cmd_split_diff++;
- }
+ cmd_split_diff++;
+ }
/* Now adjust each window. */
- clear ();
+ /* erase + clearok are used instead of a straightforward clear as
+ AIX 5.3 does not define clear. */
+ erase ();
+ clearok (curscr, TRUE);
refresh ();
switch (cur_layout)
- {
+ {
case SRC_COMMAND:
case DISASSEM_COMMAND:
first_win = (struct tui_win_info *) (tui_source_windows ())->list[0];