diff options
Diffstat (limited to 'src/buffer_utils.cc')
| -rw-r--r-- | src/buffer_utils.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer_utils.cc b/src/buffer_utils.cc index c02a283f..76884cda 100644 --- a/src/buffer_utils.cc +++ b/src/buffer_utils.cc @@ -138,7 +138,7 @@ Buffer* create_fifo_buffer(String name, int fd, bool scroll) if (prevent_scrolling) ++pos; - buffer->insert(pos, String(data, data+count)); + buffer->insert(pos, StringView(data, data+count)); if (count > 0 and prevent_scrolling) { |
