X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_afm.c;h=11cdbf1edee11058515ff83a05222fa6660022a0;hb=361a0fd38d7adf95847508f54c0bde9b3f98662e;hp=8f0228a12c27d63d1dd39658dc515b80fd9bb26d;hpb=5a7eb5b62b485b61ddb80a40ef22f4337cf2289f;p=rrdtool.git diff --git a/src/rrd_afm.c b/src/rrd_afm.c index 8f0228a..11cdbf1 100644 --- a/src/rrd_afm.c +++ b/src/rrd_afm.c @@ -1,10 +1,10 @@ /**************************************************************************** - * RRDtool 1.2.5 Copyright by Tobi Oetiker, 1997-2005 + * RRDtool 1.2.8 Copyright by Tobi Oetiker, 1997-2005 **************************************************************************** * rrd_afm.h Parsing afm tables to find width of strings. ****************************************************************************/ -#if defined(WIN32) && !defined(__CYGWIN__) && !defined(__CYGWIN32__) +#if defined(_WIN32) && !defined(__CYGWIN__) && !defined(__CYGWIN32__) #include "../confignt/config.h" #else #include "config.h" @@ -74,7 +74,7 @@ static const afm_fontinfo *afm_findfont(const char *name) p = afm_searchfont(RRD_AFM_DEFAULT_FONT); if (p) return p; - return afm_fontinfolist; // anything, just anything. + return afm_fontinfolist; /* anything, just anything. */ } const char *afm_get_font_postscript_name(const char* font)