mplayer-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Original]

Re: [MPlayer-users] Playing on specifc Xinerama screen with latest CVS


To: mplayer-users@xxxxxxxxxxxxxx
Subject: Re: [MPlayer-users] Playing on specifc Xinerama screen with latest CVS
From: dan carter <dcarter@xxxxxxxxxxxxxxxxxxx>
Date: Wed Jan 16 01:00:09 2002
Organization: Otago University
References: <20020105165819.GD5716@pc.ilinx> <20020105171906.GE5716@pc.ilinx> <3C43551B.74127D65@win.co.nz> <200201152232.XAA09209@mail49.fg.online.no>

"B. Johannessen" wrote:
> 
> no, but quite a lot of us call a[0] the first element in the a[] array,
> and we call /dev/ttyS0 the first serial port, and localhost:0 the
> first local display.
> 

Yes but most users aren't programmers.

Getting offtopic here, but people always tell me it's useful to have
arrays starting at 0 otherwise you have to sprinkle -1 all over the
place?  Anyone got an example?  I always find i have to sprinkle -1 s
all over the place exactly because they start from 0.

Eg in my xinerama patch, converting from english screen numbering to C
array indexs.
When testing if current array index is at the end i have to do if(
current_array_index == array_lengh - 1 )

Of course it's never going to change, cause changing after decades of
common useage in most programming languages is only going to cause a
million bugs.



[Prev in Thread] Current Thread [Next in Thread]