/[public]/psiconv/trunk/lib/psiconv/configuration.c
ViewVC logotype

Diff of /psiconv/trunk/lib/psiconv/configuration.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 182 Revision 185
16 along with this program; if not, write to the Free Software 16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 17 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18*/ 18*/
19 19
20#include "config.h" 20#include "config.h"
21#include "compat.h"
21#include "error.h" 22#include "error.h"
22#include "compat.h"
23#include "unicode.h" 23#include "unicode.h"
24 24
25#include <stdio.h> 25#include <stdio.h>
26#include <stdlib.h> 26#include <stdlib.h>
27#include <string.h> 27#include <string.h>
71 if (!(strcasecmp(var,"verbosity"))) { 71 if (!(strcasecmp(var,"verbosity"))) {
72 if ((value >= 1) && (value <= 4)) 72 if ((value >= 1) && (value <= 4))
73 (*config)->verbosity = value; 73 (*config)->verbosity = value;
74 else 74 else
75 psiconv_fatal(*config,0,0,"Configuration file %s, line %d: " 75 psiconv_fatal(*config,0,0,"Configuration file %s, line %d: "
76 "Verbosity should be between 1 and 4",filename,linenr); 76 "Verbosity should be between 1 and 5",filename,linenr);
77 } else if (!(strcasecmp(var,"color"))) { 77 } else if (!(strcasecmp(var,"color"))) {
78 if ((value == 0) || (value == 1)) 78 if ((value == 0) || (value == 1))
79 (*config)->color = value; 79 (*config)->color = value;
80 else 80 else
81 psiconv_fatal(*config,0,0,"Configuration file %s, line %d: " 81 psiconv_fatal(*config,0,0,"Configuration file %s, line %d: "

Legend:
Removed from v.182  
changed lines
  Added in v.185

frodo@frodo.looijaard.name
ViewVC Help
Powered by ViewVC 1.1.26