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

Re: [MiNT] XaAES bubble-help (Was: Re: Samba)



Am 05.11.2011, 20:07 Uhr, schrieb Jo Even Skarstein <joska@online.no>:

On Sat, 2011-11-05 at 18:52 +0000, Peter Slegg wrote:

> I have this in XaAES:
>
> if( cfg.xa_bubble && !strnicmp( "  BUBBLE", client->name, 8 ) )
> {
>    xa_bubble( lock, bbl_disable_bubble, 0, 0 );
> }

This is not quite correct. It will match all applications that begins
with "Bubble".

Of course it's not. But is there a better way?

I've now changed this into:

if( cfg.xa_bubble && !stricmp( "  BUBBLE  ", client->name ) )

Maybe it works a little better. Just was too lazy to count the blanks ..

What is the purpose of this test anyway?

You can run and terminate bubble to switch between both.

--
Helmut Karlowski