From 20d4be286bc5ad3be98fb9389552bbc1b301c23b Mon Sep 17 00:00:00 2001
From: Contexploit <JiansYuan@qq.com>
Date: Thu, 21 Sep 2023 00:23:05 +0800
Subject: [PATCH] Example: fix small flaw in example/button.cpp (#751)

---
 examples/component/button.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/component/button.cpp b/examples/component/button.cpp
index 0d2ab8f0..7629292e 100644
--- a/examples/component/button.cpp
+++ b/examples/component/button.cpp
@@ -43,7 +43,7 @@ int main() {
       }) | flex,
       Container::Horizontal({
         Button("-10", [&] { value -= 10; }, ButtonStyle()),
-        Button("-10", [&] { value += 10; }, ButtonStyle()),
+        Button("+10", [&] { value += 10; }, ButtonStyle()),
       }) | flex,
     });
 
-- 
GitLab