* The code implements an utility program using the Qt-Framework
* to convert an image from a given format to another one.
* The image format of the files is either auto detected by Qt or
- * may explicitely specified with command line arguments.
+ * may explicitly specified with command line arguments.
*
* Syntax:
* lyxconvert [-d] [-f infmt] [-t outfmt] inputfile outputfile
(char*)"-platform", (char*)"minimal",
NULL };
int qtargsc = sizeof(qtargs) / sizeof(qtargs[0]) - 1;
- bool debug = (1 == 0);
+ bool debug = false;
while (arg < argc) {
if ('-' == argv[arg][0] && !strcmp(argv[arg], "-platform")) {
} else if ('-' == argv[arg][0] && 't' == argv[arg][1]) {
oformat = argv[++arg]; arg++ ;
} else if ('-' == argv[arg][0] && 'd' == argv[arg][1]) {
- debug = (1 == 1); arg++;
+ debug = true; arg++;
} else if ('-' == argv[arg][0] && 'V' == argv[arg][1]) {
version(myname);
} else if ('-' == argv[arg][0]) {