summaryrefslogtreecommitdiff
path: root/palettes.c
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2015-02-15 17:27:22 +0100
committerLars-Dominik Braun <lars@6xq.net>2015-05-02 21:36:45 +0200
commitde0a8d8ff492fe1ede5ae2b3bad3d3bf659934d1 (patch)
treee90a20142ee0c1206480c04a69761bb5c2f38879 /palettes.c
parentb1dc710474fd86eb3d5ff2a51edcbfcaf0c7301c (diff)
downloadpucket-de0a8d8ff492fe1ede5ae2b3bad3d3bf659934d1.tar.gz
pucket-de0a8d8ff492fe1ede5ae2b3bad3d3bf659934d1.tar.bz2
pucket-de0a8d8ff492fe1ede5ae2b3bad3d3bf659934d1.zip
Remove all uses of getenv
Not much functionality lost here. Move on.
Diffstat (limited to 'palettes.c')
-rw-r--r--palettes.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/palettes.c b/palettes.c
index dd7f14a..eb5700b 100644
--- a/palettes.c
+++ b/palettes.c
@@ -150,8 +150,7 @@ int flam3_get_palette(int n, flam3_palette c, double hue_rotation, randctx * con
}
if (NULL == the_palettes) {
- char *d = getenv("flam3_palettes");
- rcode = init_palettes(d ? d : ("flam3-palettes.xml"));
+ rcode = init_palettes("flam3-palettes.xml");
if (rcode<0) {
fprintf(stderr,"error reading xml palette file, setting to all white\n");
return(-1);