mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
Avoid uninitialized position variables in case of current inset not doing the assignment
This commit is contained in:
parent
ab877352e7
commit
6dab8739eb
@ -438,8 +438,8 @@ void GuiCompleter::asyncUpdatePopup()
|
||||
|
||||
// get dimensions of completion prefix
|
||||
Dimension dim;
|
||||
int x;
|
||||
int y;
|
||||
int x = 0;
|
||||
int y = 0;
|
||||
cur.inset().completionPosAndDim(cur, x, y, dim);
|
||||
|
||||
// and calculate the rect of the popup
|
||||
|
Loading…
Reference in New Issue
Block a user