From 6d4c6daea0e6c3af28ff9a42804178b588f4a8fa Mon Sep 17 00:00:00 2001 From: Bert Date: Mon, 17 Jan 2011 16:41:22 +0100 Subject: Fixed scalemode enum --- image.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'image.h') diff --git a/image.h b/image.h index 4edb794..e542c22 100644 --- a/image.h +++ b/image.h @@ -19,15 +19,15 @@ #ifndef IMAGE_H #define IMAGE_H -typedef enum { - SCALE_DOWN = 0; - SCALE_FIT; - SCALE_ZOOM; +typedef enum scalemode_e { + SCALE_DOWN = 0, + SCALE_FIT, + SCALE_ZOOM } scalemode_t; typedef struct img_s { - scalemode_t scalemode; int zoom; + scalemode_t scalemode; int w; int h; int x; -- cgit v1.2.3-54-g00ecf