emote2ss

Animated webp to spritesheets converting tool
git clone git://bsandro.tech/emote2ss
Log | Files | Refs | README | LICENSE

commit 1a7e63b4c2f6b7e19ca058cb6fe8e71844a3bd31
parent c09ec60905efc97bdac7010df7e67d0d60be0bf5
Author: bsandro <[email protected]>
Date:   Wed,  9 Aug 2023 00:00:17 +0300

Label width tiny fix.

Diffstat:
Mgui/main.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gui/main.c b/gui/main.c @@ -277,7 +277,7 @@ void update_preview(UIImageDisplay *img_disp) { UILabel *label = (UILabel *)img_disp->e.cp; char label_text[256] = {0}; - snprintf(&label_text, 255, "spritesheet width: %d", cols); + snprintf(&label_text, 255, "spritesheet width: %3d", cols); UILabelSetContent(label, label_text, strlen(label_text)); UIElementRefresh(label->e.parent); }