diff options
| author | Maxime Coste <mawww@kakoune.org> | 2023-02-14 17:13:31 +1100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2023-02-14 17:13:31 +1100 |
| commit | 85ceef29bdc3e9fe8cd42770f9191ad48726bda5 (patch) | |
| tree | 992cf24c17da974da72d8fb5a6acb7f3abadc92f /src/hook_manager.cc | |
| parent | d708b77186c1685dcbd2298246ada7d204acec2f (diff) | |
Fix broken corner cases in DualThreadStack::grow_ifn
We only grow when the ring buffer is full, which allows for a nice
simplification of the code.
Tell grow_ifn if we pushed in current or next so that we can
distinguish between filled by next or filled by current when
m_current == m_next_begin
Diffstat (limited to 'src/hook_manager.cc')
0 files changed, 0 insertions, 0 deletions
