/[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 216 Revision 217
73 psiconv_config *config) 73 psiconv_config *config)
74{ 74{
75 int charnr; 75 int charnr;
76 76
77 if (!(strcasecmp(var,"verbosity"))) { 77 if (!(strcasecmp(var,"verbosity"))) {
78 if ((value >= 1) && (value <= 4)) 78 if ((value >= 1) && (value <= 5))
79 (*config)->verbosity = value; 79 (*config)->verbosity = value;
80 else 80 else
81 psiconv_error(*config,0,0,"Configuration file %s, line %d: " 81 psiconv_error(*config,0,0,"Configuration file %s, line %d: "
82 "Verbosity should be between 1 and 5",filename,linenr); 82 "Verbosity should be between 1 and 5",filename,linenr);
83 } else if (!(strcasecmp(var,"color"))) { 83 } else if (!(strcasecmp(var,"color"))) {
113 } else if (!(strcasecmp(var,"characterset"))) { 113 } else if (!(strcasecmp(var,"characterset"))) {
114 if ((value >= 0) && (value <= 1)) 114 if ((value >= 0) && (value <= 1))
115 psiconv_unicode_select_characterset(*config,value); 115 psiconv_unicode_select_characterset(*config,value);
116 else 116 else
117 psiconv_error(*config,0,0,"Configuration file %s, line %d: " 117 psiconv_error(*config,0,0,"Configuration file %s, line %d: "
118 "CharacterSet should be between 0 and 0", 118 "CharacterSet should be between 0 and 1",
119 filename,linenr); 119 filename,linenr);
120 } else if (!(strcasecmp(var,"unknownunicodechar"))) { 120 } else if (!(strcasecmp(var,"unknownunicodechar"))) {
121 if ((value >= 1) && (value < 0x10000)) 121 if ((value >= 1) && (value < 0x10000))
122 (*config)->unknown_unicode_char = value; 122 (*config)->unknown_unicode_char = value;
123 else 123 else

Legend:
Removed from v.216  
changed lines
  Added in v.217

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