| 458 | else |
| 459 | { |
| 460 | fld.width = (w > 0 ? w : h) * (1.0 / 640.0); |
| 461 | fld.height = (h > 0 ? h : w) * (1.0 / 480.0); |
| 462 | saturateMax(fld.width, 0); |
| 463 | saturateMax(fld.height, 0); |
| 464 | } |
| 465 | return &fld; |
| 466 | } |
| 467 | |
| 468 | void CHTMLContainer::AddName(int section, RString name) |
| 469 | { |
| 470 | if (section < 0 || section >= _sections.Size()) |
| 471 | { |
| 472 | return; |
no test coverage detected