ごめん
author諏訪子 <suwako@076.moe>
Thu, 2 May 2024 17:41:59 +0000 (02:41 +0900)
committer諏訪子 <suwako@076.moe>
Thu, 2 May 2024 17:41:59 +0000 (02:41 +0900)
main.c

diff --git a/main.c b/main.c
index 26f331754fcfe739002ccfd1c530bc2d8157d74b..6b1d358d20884b0a577db0d8bf8f0619c073b150 100644 (file)
--- a/main.c
+++ b/main.c
@@ -128,7 +128,7 @@ void windowevent(SDL_Event e) {
     if (newWidth < minLimit || newHeight < minLimit) {
       newWidth = minLimit;
       newHeight = minLimit;
-    } else if (newWidth < minLimit & newHeight >= minLimit) {
+    } else if (newWidth < minLimit && newHeight >= minLimit) {
       newWidth = minLimit;
     } else if (newWidth >= minLimit && newHeight < minLimit) {
       newHeight = minLimit;