Fix issue 347: always initialize backgrounds
git-svn-id: http://tint2.googlecode.com/svn/trunk@681 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
parent
c392cdf257
commit
f0e2e72efc
1 changed files with 1 additions and 0 deletions
|
@ -157,6 +157,7 @@ void add_entry (char *key, char *value)
|
|||
if (strcmp (key, "rounded") == 0) {
|
||||
// 'rounded' is the first parameter => alloc a new background
|
||||
Background bg;
|
||||
memset(&bg, 0, sizeof(bg));
|
||||
bg.border.rounded = atoi(value);
|
||||
g_array_append_val(backgrounds, bg);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue