diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2011-09-29 14:23:46 +0000 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2011-09-29 14:23:46 +0000 |
| commit | e351acd997c0b2bf3a8026f16f6e70baa4388080 (patch) | |
| tree | a2b457d9638798194dd0692e4fa4367160a8e498 /src/display_buffer.cc | |
| parent | 834e2d2fe3d9a67497dd34e6551e80df90c00458 (diff) | |
Window: fix blink_void
Diffstat (limited to 'src/display_buffer.cc')
| -rw-r--r-- | src/display_buffer.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/display_buffer.cc b/src/display_buffer.cc index 0865211a..8a8eb09e 100644 --- a/src/display_buffer.cc +++ b/src/display_buffer.cc @@ -12,6 +12,7 @@ DisplayBuffer::DisplayBuffer() DisplayBuffer::iterator DisplayBuffer::split(iterator atom, size_t pos_in_atom) { assert(atom < end()); + assert(pos_in_atom > 0); assert(pos_in_atom < atom->content.length()); DisplayAtom new_atom(atom->begin, atom->begin + pos_in_atom, atom->content.substr(0, pos_in_atom), |
