From 3790029b57d7dcc9831b8737a5d98b5d287a931c Mon Sep 17 00:00:00 2001 From: ayin Date: Sat, 5 Jan 2008 12:19:34 +0000 Subject: [PATCH] Name scrollbar struct and remove typedef. --- src/scrollbar.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scrollbar.h b/src/scrollbar.h index 59afc3df..e23dd323 100644 --- a/src/scrollbar.h +++ b/src/scrollbar.h @@ -5,7 +5,7 @@ struct rxvt_term; -typedef struct { +struct scrollBar_t { char state; /* scrollbar state */ char init; /* scrollbar has been initialised */ unsigned int beg; /* slider sub-window begin height */ @@ -28,7 +28,7 @@ typedef struct { void setMotion() { state = 'm'; } void setUp() { state = 'U'; } void setDn() { state = 'D'; } -} scrollBar_t; +}; #define scrollbar_TotalWidth() (scrollBar.width + scrollBar.shadow * 2) #define scrollbar_isMotion() (scrollBar.state == 'm') -- 2.34.1