From 719a2388f542617c0ec052661edc53eefbd65500 Mon Sep 17 00:00:00 2001 From: Clement Roblot Date: Fri, 2 Aug 2024 22:43:36 +0700 Subject: [PATCH] Corrected bug --- include/ftxui/dom/elements.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/ftxui/dom/elements.hpp b/include/ftxui/dom/elements.hpp index 517c21a..374bb5f 100644 --- a/include/ftxui/dom/elements.hpp +++ b/include/ftxui/dom/elements.hpp @@ -35,10 +35,10 @@ enum BorderStyle { typedef struct { - int startx; - int endx; - int starty; - int endy; + uint16_t startx = 0; + uint16_t endx = 0; + uint16_t starty = 0; + uint16_t endy = 0; } Region; // Pipe elements into decorator togethers.