From: Emden R. Gansner Date: Thu, 26 Feb 2015 18:49:21 +0000 (-0500) Subject: Fix declaration of Verbose X-Git-Tag: TRAVIS_CI_BUILD_EXPERIMENTAL~118^2^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=908a139753380160563a9d3dbf17fe3d3e4d6fdc;p=graphviz Fix declaration of Verbose --- diff --git a/plugin/pango/gvgetfontlist_pango.c b/plugin/pango/gvgetfontlist_pango.c index 034a3558e..cd120fc52 100644 --- a/plugin/pango/gvgetfontlist_pango.c +++ b/plugin/pango/gvgetfontlist_pango.c @@ -59,7 +59,7 @@ char* strcasestr (const char *str, const char *pat) #include "gvgetfontlist.h" #endif -extern int Verbose; +extern unsigned char Verbose; #define FNT_BOLD 1<<0 #define FNT_BOOK 1<<1 @@ -532,8 +532,10 @@ gv_font_map* get_font_mapping(PangoFontMap * fontmap) agxbfree(&xb); agxbfree(&xb2); #ifndef WIN32 - if (Verbose > 1) + if (Verbose > 1) { + fprintf(stderr, "Verbose %d\n", Verbose); printFontMap (gv_fmap, ps_fontnames_sz); + } #endif return gv_fmap; }