[GRASS-SVN] r61752 - in grass/branches/releasebranch_7_0: . lib/pngdriver
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Aug 26 15:41:04 PDT 2014
Author: neteler
Date: 2014-08-26 15:41:04 -0700 (Tue, 26 Aug 2014)
New Revision: 61752
Modified:
grass/branches/releasebranch_7_0/
grass/branches/releasebranch_7_0/lib/pngdriver/Line_width.c
Log:
pngdriver: backport of r59547, line width wasn't working in the PNG driver (trac #1283)
Property changes on: grass/branches/releasebranch_7_0
___________________________________________________________________
Modified: svn:mergeinfo
- /grass/trunk:61507,61718
+ /grass/trunk:59547,61507,61718
Modified: grass/branches/releasebranch_7_0/lib/pngdriver/Line_width.c
===================================================================
--- grass/branches/releasebranch_7_0/lib/pngdriver/Line_width.c 2014-08-26 22:32:15 UTC (rev 61751)
+++ grass/branches/releasebranch_7_0/lib/pngdriver/Line_width.c 2014-08-26 22:41:04 UTC (rev 61752)
@@ -1,9 +1,7 @@
#include <math.h>
#include "pngdriver.h"
-int linewidth;
-
void PNG_Line_width(double width)
{
- linewidth = (width < 0 ? 0 : (int) floor(width + 0.5));
+ png.linewidth = (width < 0 ? 0 : (int) floor(width + 0.5));
}
More information about the grass-commit
mailing list