Do not compare pointers to 0

SVN revision: 50973
This commit is contained in:
Lucas De Marchi 2010-08-10 19:24:38 +00:00
parent 04b788e2d7
commit f725ee6e15
1 changed files with 1 additions and 1 deletions

View File

@ -485,7 +485,7 @@ ACT_FN_GO(window_fullscreen_toggle, )
bd = (E_Border *)obj;
if (bd->fullscreen)
e_border_unfullscreen(bd);
else if (params == 0 || *params == '\0')
else if (params == NULL || *params == '\0')
e_border_fullscreen(bd, e_config->fullscreen_policy);
else if (! strcmp(params, "resize"))
e_border_fullscreen(bd, E_FULLSCREEN_RESIZE);