diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2014-08-24 00:17:15 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2014-08-24 00:17:15 +0000 |
commit | d90b2724114cb6e9696e7648a20acf3d71c4a14b (patch) | |
tree | c829ebe09f6afc2e7490cef9e047c6b629a5592f /lib | |
parent | 715aef8205a7a002c516c5591c872c06a136134e (diff) | |
download | netpbm-mirror-d90b2724114cb6e9696e7648a20acf3d71c4a14b.tar.gz netpbm-mirror-d90b2724114cb6e9696e7648a20acf3d71c4a14b.tar.xz netpbm-mirror-d90b2724114cb6e9696e7648a20acf3d71c4a14b.zip |
Fix comment
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2251 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/colorname.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/colorname.c b/lib/colorname.c index 5c371e84..454cf195 100644 --- a/lib/colorname.c +++ b/lib/colorname.c @@ -87,8 +87,8 @@ pm_openColornameFile(const char * const fileName, const int must_open) { Open the colorname dictionary file. Its file name is 'fileName', unless 'fileName' is NULL. In that case, its file name is the value of the environment variable whose name is RGB_ENV (e.g. "RGBDEF"). Except - if that environment variable is not set, it is RGB_DB1, RGB_DB2, - or RGB_DB3 (e.g. "/usr/lib/X11/rgb.txt"), whichever exists. + if that environment variable is not set, it is the first file found, + if any, in the search path RGB_DB_PATH. 'must_open' is a logical: we must get the file open or die. If 'must_open' is true and we can't open the file (e.g. it doesn't |