mirror of
https://github.com/vale981/yabar
synced 2025-03-04 17:11:38 -05:00
Fix enum size in yabar.h
to fix compiler warning
This commit is contained in:
parent
9809dcd07d
commit
bd4d6c2fd7
1 changed files with 10 additions and 1 deletions
|
@ -119,10 +119,18 @@ enum {
|
|||
|
||||
|
||||
#ifdef YA_INTERNAL_EWMH
|
||||
#ifdef PLAYERCTL
|
||||
#define YA_INTERNAL_LEN 17
|
||||
#else
|
||||
#define YA_INTERNAL_LEN 16
|
||||
#endif
|
||||
#else
|
||||
#ifdef PLAYERCTL
|
||||
#define YA_INTERNAL_LEN 15
|
||||
#else
|
||||
#define YA_INTERNAL_LEN 14
|
||||
#endif
|
||||
#endif
|
||||
enum {
|
||||
YA_INT_DATE = 0,
|
||||
YA_INT_UPTIME,
|
||||
|
@ -139,7 +147,8 @@ enum {
|
|||
YA_INT_WIFI,
|
||||
YA_INT_DISKSPACE,
|
||||
YA_INT_TITLE,
|
||||
YA_INT_WORKSPACE
|
||||
YA_INT_WORKSPACE,
|
||||
YA_INT_SONG
|
||||
};
|
||||
|
||||
#define NOT_INHERIT_BAR(bar) (((bar)->attr & BARA_INHERIT)==0)
|
||||
|
|
Loading…
Add table
Reference in a new issue