https://github.com/libsdl-org/Maelstrom/commit/f35e66b19a2f7a917b0fc55258a3d6c03e237b74
From f35e66b19a2f7a917b0fc55258a3d6c03e237b74 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Sun, 6 Nov 2011 00:51:02 -0400
Subject: [PATCH] Removed debug code
---
screenlib/UIElementCheckbox.cpp | 2 --
1 file changed, 2 deletions(-)
diff --git a/screenlib/UIElementCheckbox.cpp b/screenlib/UIElementCheckbox.cpp
index c750b1dc..ed4cfa81 100644
--- a/screenlib/UIElementCheckbox.cpp
+++ b/screenlib/UIElementCheckbox.cpp
@@ -62,7 +62,6 @@ UIElementCheckbox::FinishLoading()
// Extend the sensitive area to encompass the label
if (!m_textArea.IsEmpty()) {
if (m_textArea.X() >= X()) {
-printf("%p Setting width to encompass text (%d >= %d)\n", this, m_textArea.X(), X());
SetWidth((m_textArea.X()+m_textArea.Width()) - X());
} else {
assert(!"Need code for labels on the left");
@@ -70,7 +69,6 @@ printf("%p Setting width to encompass text (%d >= %d)\n", this, m_textArea.X(),
}
if (!m_imageArea.IsEmpty()) {
if (m_imageArea.X() >= X()) {
-printf("%p Setting width to encompass image (%d >= %d)\n", this, m_imageArea.X(), X());
SetWidth((m_imageArea.X()+m_imageArea.Width()) - X());
} else {
assert(!"Need code for images on the left");