Merge pull request #618 from neosilky/uninit

sway/config.c: Initialise struct value
This commit is contained in:
Drew DeVault 2016-04-29 21:39:22 -04:00
commit be6c18df94

View file

@ -1035,6 +1035,7 @@ struct bar_config *default_bar_config(void) {
bar->strip_workspace_numbers = false; bar->strip_workspace_numbers = false;
bar->binding_mode_indicator = true; bar->binding_mode_indicator = true;
bar->tray_padding = 2; bar->tray_padding = 2;
bar->verbose = false;
bar->pid = 0; bar->pid = 0;
// set default colors // set default colors
strcpy(bar->colors.background, "#000000ff"); strcpy(bar->colors.background, "#000000ff");