Skip to content

Instantly share code, notes, and snippets.

Avatar

Erik erenes

  • The Netherlands
View GitHub Profile
View gfx_layout.diff
diff --git a/src/gfx_layout.cpp b/src/gfx_layout.cpp
index 584a712..a5b0dd8 100644
--- a/src/gfx_layout.cpp
+++ b/src/gfx_layout.cpp
@@ -504,12 +504,13 @@ std::unique_ptr<const ParagraphLayouter::Line> FallbackParagraphLayout::NextLine
*/
if (this->buffer == nullptr) return nullptr;
- std::unique_ptr<FallbackLine> l(new FallbackLine());
+ FallbackLine *fbl = new FallbackLine();
You can’t perform that action at this time.