Isn't an 'else' useless here, because - it can't be both? On Wed, Sep 19, 2007 at 01:14:26AM -0400, Enlightenment CVS wrote: > Enlightenment CVS committal > > Author : englebass > Project : e17 > Module : apps/e > > Dir : e17/apps/e/src/modules/ibar > > > Modified Files: > e_mod_main.c > > > Log Message: > app->type can't be both. > > =================================================================== > RCS file: /cvs/e/e17/apps/e/src/modules/ibar/e_mod_main.c,v > retrieving revision 1.186 > retrieving revision 1.187 > diff -u -3 -r1.186 -r1.187 > --- e_mod_main.c 19 Sep 2007 01:29:04 -0000 1.186 > +++ e_mod_main.c 19 Sep 2007 05:14:26 -0000 1.187 > @@ -829,8 +829,8 @@ > if ((ev->button == 1) && (!ic->drag.dnd) && (ic->mouse_down == 1)) > { > if (ic->app->type == EFREET_DESKTOP_TYPE_APPLICATION) > - e_exec(ic->ibar->inst->gcc->gadcon->zone, ic->app, NULL, NULL, > "ibar"); > - if (ic->app->type == EFREET_DESKTOP_TYPE_LINK) > + e_exec(ic->ibar->inst->gcc->gadcon->zone, ic->app, NULL, NULL, > "ibar"); > + else if (ic->app->type == EFREET_DESKTOP_TYPE_LINK) > { > if (strncasecmp (ic->app->url, "file:", 5) == 0) > { > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > enlightenment-cvs mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel