{} is needed to define a new variable inside case. S.
On 04/03/2011 06:03 PM, Daniel Juyung Seo wrote: > Hello billiob. > > Oopps. That was my mistake. > > I removed it because I thought { } was not needed. > { } is needed for case? > Any compile option was set for that? > > Anyway, sorry for breaking it. > > Daniel Juyung Seo (SeoZ) > > > > On Sun, Apr 3, 2011 at 8:55 PM, Enlightenment SVN< > no-re...@enlightenment.org> wrote: > >> Log: >> elementary: fix compilation >> >> Author: billiob >> Date: 2011-04-03 04:55:56 -0700 (Sun, 03 Apr 2011) >> New Revision: 58298 >> Trac: http://trac.enlightenment.org/e/changeset/58298 >> >> Modified: >> trunk/elementary/src/lib/elm_widget.c >> >> Modified: trunk/elementary/src/lib/elm_widget.c >> =================================================================== >> --- trunk/elementary/src/lib/elm_widget.c 2011-04-03 11:21:51 UTC >> (rev 58297) >> +++ trunk/elementary/src/lib/elm_widget.c 2011-04-03 11:55:56 UTC >> (rev 58298) >> @@ -281,18 +281,24 @@ >> switch (type) >> { >> case EVAS_CALLBACK_KEY_DOWN: >> - Evas_Event_Key_Down *ev = event_info; >> - event_flags =&(ev->event_flags); >> + { >> + Evas_Event_Key_Down *ev = event_info; >> + event_flags =&(ev->event_flags); >> + } >> break; >> >> case EVAS_CALLBACK_KEY_UP: >> - Evas_Event_Key_Up *ev = event_info; >> - event_flags =&(ev->event_flags); >> + { >> + Evas_Event_Key_Up *ev = event_info; >> + event_flags =&(ev->event_flags); >> + } >> break; >> >> case EVAS_CALLBACK_MOUSE_WHEEL: >> - Evas_Event_Mouse_Wheel *ev = event_info; >> - event_flags =&(ev->event_flags); >> + { >> + Evas_Event_Mouse_Wheel *ev = event_info; >> + event_flags =&(ev->event_flags); >> + } >> break; >> >> default: >> >> >> >> ------------------------------------------------------------------------------ >> Create and publish websites with WebMatrix >> Use the most popular FREE web apps or write code yourself; >> WebMatrix provides all the features you need to develop and >> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf >> _______________________________________________ >> enlightenment-svn mailing list >> enlightenment-...@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn >> > ------------------------------------------------------------------------------ > Create and publish websites with WebMatrix > Use the most popular FREE web apps or write code yourself; > WebMatrix provides all the features you need to develop and > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel