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: Fri Apr 19 08:04:19 CEST 2024
Total time taken to generate the page: 0.03315 seconds
|