Initialize a.prev to NULL
This commit is contained in:
parent
eee37d063c
commit
e8e02d5a5d
|
@ -55,7 +55,7 @@ screen_xsi_to_area(XineramaScreenInfo si)
|
||||||
a.y = si.y_org;
|
a.y = si.y_org;
|
||||||
a.width = si.width;
|
a.width = si.width;
|
||||||
a.height = si.height;
|
a.height = si.height;
|
||||||
a.next = NULL;
|
a.next = a.prev = NULL;
|
||||||
|
|
||||||
return a;
|
return a;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue