Rename Window.columns to Window.saved_columns

This more accurately describes what it's for, and also avoids a conflict with the columns identifier
defined by terminfo's <term.h>.
This commit is contained in:
Kevin Easton
2018-12-10 23:46:24 +11:00
parent 9524f8996c
commit ac1c95c4ec
3 changed files with 5 additions and 5 deletions

View File

@@ -214,7 +214,7 @@ static LookupStruct win_struct[] = {
{ "LINE_CNT", offsetof(Window, line_cnt), INT_TYPE_VAR , VAR_READ_ONLY },
{ "SCROLL", offsetof(Window, noscroll), BOOL_TYPE_VAR , VAR_READ_WRITE },
{ "SCRATCH", offsetof(Window, scratch_line), BOOL_TYPE_VAR , VAR_READ_WRITE },
{ "COLUMNS", offsetof(Window, columns), INT_TYPE_VAR , VAR_READ_ONLY },
{ "COLUMNS", offsetof(Window, saved_columns), INT_TYPE_VAR , VAR_READ_ONLY },
{ "NOTIFY_LEVEL", offsetof(Window, notify_level), INT_TYPE_VAR , VAR_READ_WRITE },
{ "WINDOW_LEVEL", offsetof(Window, window_level), INT_TYPE_VAR , VAR_READ_WRITE },
{ "CURRENT_CHANNEL", offsetof(Window, current_channel),STR_TYPE_VAR , VAR_READ_ONLY },