Commit e007e62
authored
While some `libcurses` functions are meant to return OK on success,
this is not always the case for all implementations. As such, we relax
the checks on the return values and allow any non-ERR value to be
considered equivalent to OK.
1 parent 28625d4 commit e007e62
1 file changed
Lines changed: 4 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
392 | 392 | | |
393 | 393 | | |
394 | 394 | | |
395 | | - | |
396 | | - | |
397 | | - | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
398 | 398 | | |
399 | 399 | | |
400 | 400 | | |
401 | 401 | | |
402 | 402 | | |
403 | 403 | | |
404 | 404 | | |
405 | | - | |
406 | 405 | | |
407 | 406 | | |
408 | 407 | | |
| |||
416 | 415 | | |
417 | 416 | | |
418 | 417 | | |
419 | | - | |
420 | 418 | | |
421 | 419 | | |
422 | 420 | | |
| |||
1580 | 1578 | | |
1581 | 1579 | | |
1582 | 1580 | | |
1583 | | - | |
| 1581 | + | |
1584 | 1582 | | |
1585 | 1583 | | |
1586 | 1584 | | |
| |||
0 commit comments