chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.main.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
much fixes for new arrangements
[ypp-sc-tools.main.git]
/
pctb
/
convert.c
diff --git
a/pctb/convert.c
b/pctb/convert.c
index f38abf5a0d2dc6b0c91eaa4fd3e78a271e581bda..5f47113bdaaa93a52913b2dde95a4ae55fc25015 100644
(file)
--- a/
pctb/convert.c
+++ b/
pctb/convert.c
@@
-31,6
+31,11
@@
int main(int argc, char **argv) {
o_single_page= 1;
else if (!strcmp(arg,"--screenshots-file"))
eassert( o_screenshots_fn= *++argv );
o_single_page= 1;
else if (!strcmp(arg,"--screenshots-file"))
eassert( o_screenshots_fn= *++argv );
+#define DF(f) \
+ else if (!strcmp(arg,"-D" #f)) \
+ debug_flags |= dbg_##f;
+ DEBUG_FLAG_LIST
+#undef DF
else if (!strcmp(arg,"--window-id")) {
char *ep;
eassert((arg=*++argv));
else if (!strcmp(arg,"--window-id")) {
char *ep;
eassert((arg=*++argv));