Re: [AD] desktop resolution (2)

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


Eric Botcazou <ebotcazou@xxxxxxxxxx> wrote:
> I've coded the general framework for the desktop resolution getter function:
> its prototype is 'int get_desktop_resolution(int *width, int *height)' and
> it returns a positive value on success, 0 on failure.

Sorry this is late, but, shouldn't it return 0 on success and a
negative value on failure?

-- 
tjaden@xxxxxxxxxx - http://www.psynet.net/tjaden/
Say something stupid and someone will agree with you.



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