aboutsummaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/inc/gui/button.h1
-rw-r--r--src/gui/src/button_type1.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/inc/gui/button.h b/src/gui/inc/gui/button.h
index b712e29..b15faaa 100644
--- a/src/gui/inc/gui/button.h
+++ b/src/gui/inc/gui/button.h
@@ -50,6 +50,7 @@ enum
GUI_BUTTON_LEFT,
GUI_BUTTON_MID,
GUI_BUTTON_RIGHT,
+ GUI_BUTTON_SMALL,
MAX_GUI_BUTTON_SPRITES
};
diff --git a/src/gui/src/button_type1.c b/src/gui/src/button_type1.c
index da59d8b..2f91b4c 100644
--- a/src/gui/src/button_type1.c
+++ b/src/gui/src/button_type1.c
@@ -71,7 +71,7 @@ static int render_mid(const struct gui_button *const b,
}
else
{
- fprintf(stderr, "%s: unexpected negative size for button %p\n",
+ fprintf(stderr, "%s: unexpected zero or negative size for button %p\n",
__func__, (void *)b);
return -1;
}