summaryrefslogtreecommitdiff
path: root/src/widget/widget_textfield.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/widget/widget_textfield.c')
-rw-r--r--src/widget/widget_textfield.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widget/widget_textfield.c b/src/widget/widget_textfield.c
index 2a8a02c..70e2a66 100644
--- a/src/widget/widget_textfield.c
+++ b/src/widget/widget_textfield.c
@@ -30,8 +30,8 @@ widget_textfield_t* newWidgetTextfield(char *text, int filter, int x, int y)
static void drawBackground(widget_textfield_t *p)
{
- static SDL_Surface *g_textfield0 = NULL;
- static SDL_Surface *g_textfield1 = NULL;
+ static image_t *g_textfield0 = NULL;
+ static image_t *g_textfield1 = NULL;
int x, y;
getMousePosition(&x, &y);