gnome-control-center weird code



Hi,

Just found this during transtating gnome-control-center.
In panels/mouse/gnome-mouse-test.c, line 139:

        if (double_click_state == DOUBLE_CLICK_TEST_GEGL) {
                message = _("Five clicks, GEGL time!"), "</b>";
        } else {
            ...

Notice the ', "</b>"' part after the assignment. Fortunately, the
assignment takes precedence over the comma operator.
So, it doesn't affect the program behavior. Just weirdness, not a bug.

Regards,
-- 
Theppitak Karoonboonyanan
http://linux.thai.net/~thep/


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