[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: huh???
From:       Leo Savernik <l.savernik () aon ! at>
Date:       2004-04-28 19:24:59
Message-ID: 200404282125.12808.l.savernik () aon ! at
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Mittwoch 28 April 2004 17:25 schrieb Frerich Raabe:
[...]
> >       //        variable from the outer loop!!
> >       for (int i2=i;i<3;i++)
> >         d->activeDockPriority[i]=d->activeDockPriority[i+1];
> >       d->activeDockPriority[3]=0;
> >       break;
[...]
> (except in the "int i2=i"
> part) should be changed to "i2".

Why not writing simply:
      //        variable from the outer loop!!
      for (;i<3;i++)
?

mfg
	Leo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQFAkAULj5jssenUYTsRAiZEAJ9q9kTMPMOWPZ7iQaRojx3uSJG72QCgpPQ3
WEPag8xvstuDUSeeeXFr82s=
=ljMN
-----END PGP SIGNATURE-----
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic