Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to next message
EvBoyer is currently offline  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.
Re: BarPane::GetPaneSize( b, INT_MAX ) fails? [message #20128 is a reply to message #20127] Fri, 20 February 2009 00:25 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Correct observation, thanks!

Mirek
Previous Topic: Writes to freed blocks detected
Next Topic: Linking problem with socket
Goto Forum:
  


Current Time: Fri Apr 19 08:04:19 CEST 2024

Total time taken to generate the page: 0.03315 seconds