summaryrefslogtreecommitdiffstats
path: root/src/image.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/image.cpp')
-rw-r--r--src/image.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/image.cpp b/src/image.cpp
index adec5b3..afc67ef 100644
--- a/src/image.cpp
+++ b/src/image.cpp
@@ -209,9 +209,9 @@ static Color palette3[] =
Image::Image(int w,int h)
{
- static int hue = Config_getInt("HTML_COLORSTYLE_HUE");
- static int sat = Config_getInt("HTML_COLORSTYLE_SAT");
- static int gamma = Config_getInt("HTML_COLORSTYLE_GAMMA");
+ static int hue = Config_getInt(HTML_COLORSTYLE_HUE);
+ static int sat = Config_getInt(HTML_COLORSTYLE_SAT);
+ static int gamma = Config_getInt(HTML_COLORSTYLE_GAMMA);
double red1,green1,blue1;
double red2,green2,blue2;
@@ -399,7 +399,7 @@ bool Image::save(const char *fileName,int mode)
return FALSE;
}
#endif
- static bool useTransparency = Config_getBool("FORMULA_TRANSPARENT");
+ static bool useTransparency = Config_getBool(FORMULA_TRANSPARENT);
uchar* buffer;
size_t bufferSize;
LodePNG_Encoder encoder;