forked from aniani/vim
patch 8.0.0069
Problem: Compiler warning for self-comparison. Solution: Define ONE_WINDOW and add #ifdef.
This commit is contained in:
@@ -2137,7 +2137,7 @@ win_found:
|
||||
* If there is only one window and it is the quickfix window, create a
|
||||
* new one above the quickfix window.
|
||||
*/
|
||||
if (((firstwin == lastwin) && bt_quickfix(curbuf)) || !usable_win)
|
||||
if ((ONE_WINDOW && bt_quickfix(curbuf)) || !usable_win)
|
||||
{
|
||||
flags = WSP_ABOVE;
|
||||
if (ll_ref != NULL)
|
||||
|
Reference in New Issue
Block a user