This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository entice.
View the commit online.
commit 6cb5f3b04de003ef231c96fc9945930b68913fe7
Author: Vincent Torri <[email protected]>
AuthorDate: Tue Apr 7 09:13:19 2026 +0200
remove printf
---
src/bin/entice_image.c | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/src/bin/entice_image.c b/src/bin/entice_image.c
index 5cf5b3f..a4d641a 100644
--- a/src/bin/entice_image.c
+++ b/src/bin/entice_image.c
@@ -293,9 +293,6 @@ static void
_entice_image_size_zoom_get(int zoom, int in_w, int in_h, int img_w, int img_h,
int *out_x, int *out_y, int *out_w, int *out_h)
{
- printf("nor window : %d %d\n", in_w, in_h);
- printf("nor image : %d %d\n", img_w, img_h);
- printf("nor zoom : %d\n", zoom);
*out_w = (zoom * img_w) / 100;
*out_h = (zoom * img_h) / 100;
@@ -308,8 +305,6 @@ _entice_image_size_zoom_get(int zoom, int in_w, int in_h, int img_w, int img_h,
*out_y = 0;
else
*out_y = ((in_h - *out_h) / 2);
- printf("fit out : %d %d %d %d \n", *out_x, *out_y, *out_w, *out_h);
- fflush(stdout);
}
static void
@@ -317,9 +312,6 @@ _entice_image_size_fit_get(int in_w, int in_h, int img_w, int img_h,
int *out_x, int *out_y, int *out_w, int *out_h,
int *zoom)
{
- printf("fit window : %d %d\n", in_w, in_h);
- printf("fit image : %d %d\n", img_w, img_h);
-
if ((img_w <= 0) || (img_h <= 0))
{
*out_x = 0;
@@ -346,8 +338,6 @@ _entice_image_size_fit_get(int in_w, int in_h, int img_w, int img_h,
*out_x = ((in_w - *out_w) / 2.0);
*out_y = ((in_h - *out_h) / 2.0);
- printf("fit out : %d %d %d %d %d%%\n", *out_x, *out_y, *out_w, *out_h, *zoom);
- fflush(stdout);
}
/*============================================================================*
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.