Home » U++ Library support » U++ Library : Other (not classified elsewhere) » BarPane::GetPaneSize( b, INT_MAX ) fails?
BarPane::GetPaneSize( b, INT_MAX ) fails? [message #20127] |
Fri, 20 February 2009 00:04  |
EvBoyer
Messages: 1 Registered: June 2007 Location: California, USA
|
Junior Member |
|
|
Examining code for BarPane::GetPaneSize() and for BarPane::Repos() shows an apparent error in which the second parameter value is modified by removing 2 * a margin value, but later tested against INT_MAX. I don't know when one would call either of these with INT_MAX as an argument, but the test would fail unless the margin was zero.
|
|
|
|
Goto Forum:
Current Time: Sun Apr 27 18:20:27 CEST 2025
Total time taken to generate the page: 0.00614 seconds
|