Re: [AD] Allegro 4.1.18 WIP RC1

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Monday 24 January 2005 19:45, Daniel Schlyder wrote:
> Tore Halse:
> > "Whoops, unintended consequence of GetTitleBarInfo, sorry. Patch
> > attached to use GetSystemMetrics instead - it's not quite as reliable
> > (I believe there are a few cases in XP where you can have
> > _differing_ title bar heights between windows), but since its function
> > isn't _critical_ I might as well change it."
> 
> Couldn't we detect if GetTitleBarInfo() is available at runtime and only
> fall back on GetSystemMetrics() when it's not?

Wouldn't that somehow create a problem at linktime? Otherwise, I'm all for 
this approach: use the most reliable method if you can, and something 
that's less reliable but gets the job done if you can't. ;)
Anyway, I've commited the original patch for the time being.

Evert





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/