Do not compare pointers to 0
authorLucas De Marchi <lucas.demarchi@profusion.mobi>
Tue, 10 Aug 2010 19:24:38 +0000 (19:24 +0000)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Tue, 10 Aug 2010 19:24:38 +0000 (19:24 +0000)
SVN revision: 50973

src/bin/e_actions.c

index f98b36f..1e6279d 100644 (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);