[Geany-Devel] [geany/geany-plugins] 9fb601: GeanyLaTeX: Replace NZV-makro with EMPTY-makro

Colomban Wendling lists.ban at xxxxx
Thu Aug 15 12:24:39 UTC 2013


Le 15/08/2013 09:59, Frank Lanitz a écrit :
> [...]
> GeanyLaTeX: Replace NZV-makro with EMPTY-makro
> 
> 
> Modified Paths:
> --------------
>     geanylatex/src/geanylatex.c
>     geanylatex/src/latexutils.c
> 
> Modified: geanylatex/src/geanylatex.c
> 10 files changed, 5 insertions(+), 5 deletions(-)
> ===================================================================
> @@ -1447,7 +1447,7 @@ void glatex_insert_usepackage_dialog(G_GNUC_UNUSED GtkMenuItem * menuitem,
>  				break;
>  			}
>  		}
> -		if (classoptions != NULL && NZV(orientation_string))
> +		if (classoptions != NULL && EMPTY(orientation_string))
> [...]

This isn't correct, `NZV` used to be "non-zero value", and `EMPTY` is
"zero value", so as Nick changed inside Geany, it should be `NZV` ->
`!EMPTY` and `!NZV` -> `EMPTY`.

Cheers,
Colomban


More information about the Devel mailing list