aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-layout.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/tui/tui-layout.h')
-rw-r--r--gdb/tui/tui-layout.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/tui/tui-layout.h b/gdb/tui/tui-layout.h
index acea7ac..8f41835 100644
--- a/gdb/tui/tui-layout.h
+++ b/gdb/tui/tui-layout.h
@@ -217,8 +217,9 @@ protected:
private:
- /* Set the weights from the current heights. */
- void set_weights_from_heights ();
+ /* Set the weights from the current heights (when m_vertical is true) or
+ widths (when m_vertical is false). */
+ void set_weights_from_sizes ();
struct split
{