Commit 9a0a8927 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

winefile: Avoid array overrun (coverity).

parent 3184dc91
......@@ -2732,7 +2732,7 @@ static void calc_single_width(Pane* pane, int col)
x = pane->positions[col] + cx;
for(; col<COLUMNS; ) {
for(; col<COLUMNS-1; ) {
pane->positions[++col] = x;
x += pane->widths[col];
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment