Merge pull request #618 from neosilky/uninit

sway/config.c: Initialise struct value
master
Drew DeVault 9 years ago
commit be6c18df94

@ -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");

Loading…
Cancel
Save