[GRASS-SVN] r63468 - grass/trunk/lib/display
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Dec 10 02:05:57 PST 2014
Author: martinl
Date: 2014-12-10 02:05:56 -0800 (Wed, 10 Dec 2014)
New Revision: 63468
Modified:
grass/trunk/lib/display/r_raster.c
Log:
displaylib: display driver lower case by default (cosmetics)
Modified: grass/trunk/lib/display/r_raster.c
===================================================================
--- grass/trunk/lib/display/r_raster.c 2014-12-10 09:45:32 UTC (rev 63467)
+++ grass/trunk/lib/display/r_raster.c 2014-12-10 10:05:56 UTC (rev 63468)
@@ -140,9 +140,9 @@
}
const struct driver *drv =
- (p && G_strcasecmp(p, "PNG") == 0) ? PNG_Driver() :
- (p && G_strcasecmp(p, "PS") == 0) ? PS_Driver() :
- (p && G_strcasecmp(p, "HTML") == 0) ? HTML_Driver() :
+ (p && G_strcasecmp(p, "png") == 0) ? PNG_Driver() :
+ (p && G_strcasecmp(p, "ps") == 0) ? PS_Driver() :
+ (p && G_strcasecmp(p, "html") == 0) ? HTML_Driver() :
#ifdef USE_CAIRO
(p && G_strcasecmp(p, "cairo") == 0) ? Cairo_Driver() :
Cairo_Driver();
More information about the grass-commit
mailing list