Skip to content

Commit

Permalink
Merge pull request #169 from Ma27/fix-header-segfault
Browse files Browse the repository at this point in the history
Fix segfault caused by wrong value order in type enum
  • Loading branch information
NBonaparte committed Oct 12, 2017
2 parents 7135437 + 65c240a commit cbecc77
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions include/yabar.h
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,11 @@ enum {
YA_INT_VOLUME,
YA_INT_WIFI,
YA_INT_DISKSPACE,
#ifdef PLAYERCTL
YA_INT_SONG,
#endif
YA_INT_TITLE,
YA_INT_WORKSPACE,
YA_INT_SONG
YA_INT_WORKSPACE
};

#define NOT_INHERIT_BAR(bar) (((bar)->attr & BARA_INHERIT)==0)
Expand Down

0 comments on commit cbecc77

Please sign in to comment.