Mercurial > vim
comparison src/gui.h @ 34108:14b69ff2c1ab v9.1.0018
patch 9.1.0018: use of #if instead of #ifdef
Commit: https://github.com/vim/vim/commit/b52600d5613316e5b6e89514a02df1f97e27a5ff
Author: Ken Takata <kentkt@csc.jp>
Date: Fri Jan 12 17:31:07 2024 +0100
patch 9.1.0018: use of #if instead of #ifdef
Problem: use of #if instead of #ifdef
Solution: use correct form of #ifdef
`#if FEAT_GUI_HAIKU` was used mistakenly. Use the correct form
`#ifdef FEAT_GUI_HAIKU` instead.
closes: #13843
Signed-off-by: Ken Takata <kentkt@csc.jp>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 12 Jan 2024 17:45:05 +0100 |
parents | cb88e5c589d0 |
children | 995b539939c4 |
comparison
equal
deleted
inserted
replaced
34107:06444c35272b | 34108:14b69ff2c1ab |
---|---|
174 // 32767 lines. When the file is longer, | 174 // 32767 lines. When the file is longer, |
175 // scroll_shift is set to the number of shifts | 175 // scroll_shift is set to the number of shifts |
176 // to reduce the count. | 176 // to reduce the count. |
177 #endif | 177 #endif |
178 | 178 |
179 #if FEAT_GUI_HAIKU | 179 #ifdef FEAT_GUI_HAIKU |
180 VimScrollBar *id; // Pointer to real scroll bar | 180 VimScrollBar *id; // Pointer to real scroll bar |
181 #endif | 181 #endif |
182 #ifdef FEAT_GUI_PHOTON | 182 #ifdef FEAT_GUI_PHOTON |
183 PtWidget_t *id; | 183 PtWidget_t *id; |
184 #endif | 184 #endif |