limit lines to input
1cf38644
1 file(s) · +1 −0
| 454 | 454 | if(items) |
|
| 455 | 455 | items[i].text = NULL; |
|
| 456 | 456 | inputw = maxstr ? textw(dc, maxstr) : 0; |
|
| 457 | + | lines = MIN(lines, i); |
|
| 457 | 458 | } |
|
| 458 | 459 | ||
| 459 | 460 | void |