enlightenment/src/modules/conf_fonts
Lucas De Marchi 63f07459a0 Convert (hopefully) all comparisons to NULL
Apply badzero.cocci, badnull.coci and badnull2.cocci

This should convert all cases where there's a comparison to NULL to simpler
forms. This patch applies the following transformations:

code before patch               ||code after patch
===============================================================

return a == NULL;                 return !a;

return a != NULL;                 return !!a;

func(a == NULL);                  func(!a);

func(a != NULL);                  func(!!a);

b = a == NULL;                    b = !a;

b = a != NULL;                    b = !!a;

b = a == NULL ? c : d;            b = !a ? c : d;

b = a != NULL ? c : d;            b = a ? c : d;


other cases:

a == NULL                         !a
a != NULL                         a




SVN revision: 51487
2010-08-21 13:52:25 +00:00
..
.cvsignore move more config dialogs to modules. 2007-07-07 15:44:01 +00:00
Makefile.am Edje files are gone... 2010-04-19 06:50:52 +00:00
e_int_config_fonts.c Convert (hopefully) all comparisons to NULL 2010-08-21 13:52:25 +00:00
e_int_config_fonts.h FORMATTING 2010-08-04 16:57:32 +00:00
e_mod_main.c Add UNUSED where needed. 2010-08-19 17:16:06 +00:00
e_mod_main.h FORMATTING 2010-08-04 16:57:32 +00:00
module.desktop.in Use FDO-icon for fonts module and remove useless edje file. 2010-04-19 05:37:03 +00:00