1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Fix defaulting win positions

This commit is contained in:
James Booth 2016-09-25 20:49:54 +01:00
parent 6c8def367c
commit 3bf383cec6

View File

@ -1104,24 +1104,24 @@ prefs_get_win_placement(void)
// return default if duplicates found // return default if duplicates found
if (titlebar_pos == mainwin_pos) { if (titlebar_pos == mainwin_pos) {
return prefs_create_profwin_placement(1, 2, 3, 5); return prefs_create_profwin_placement(1, 2, 3, 4);
} }
if (titlebar_pos == statusbar_pos) { if (titlebar_pos == statusbar_pos) {
return prefs_create_profwin_placement(1, 2, 3, 5); return prefs_create_profwin_placement(1, 2, 3, 4);
} }
if (titlebar_pos == inputwin_pos) { if (titlebar_pos == inputwin_pos) {
return prefs_create_profwin_placement(1, 2, 3, 5); return prefs_create_profwin_placement(1, 2, 3, 4);
} }
if (mainwin_pos == statusbar_pos) { if (mainwin_pos == statusbar_pos) {
return prefs_create_profwin_placement(1, 2, 3, 5); return prefs_create_profwin_placement(1, 2, 3, 4);
} }
if (mainwin_pos == inputwin_pos) { if (mainwin_pos == inputwin_pos) {
return prefs_create_profwin_placement(1, 2, 3, 5); return prefs_create_profwin_placement(1, 2, 3, 4);
} }
if (statusbar_pos == inputwin_pos) { if (statusbar_pos == inputwin_pos) {
return prefs_create_profwin_placement(1, 2, 3, 5); return prefs_create_profwin_placement(1, 2, 3, 4);
} }
// return settings // return settings