diff options
Diffstat (limited to 'src/flpsed.cxx')
-rw-r--r-- | src/flpsed.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/flpsed.cxx b/src/flpsed.cxx index 6e1cf50..1d8b5d2 100644 --- a/src/flpsed.cxx +++ b/src/flpsed.cxx @@ -6,7 +6,6 @@ #include <stdio.h> #include <string.h> -#include <unistd.h> #include <stdlib.h> #include <sys/types.h> #include <sys/wait.h> @@ -86,7 +85,7 @@ void page_sel_fill() { if (!p) return; - for(int i=1; i<=p; i++) { + for (int i = 1; i <= p; i++) { snprintf(buf, sizeof(buf), "%d", i); page_sel->add(buf); } @@ -183,7 +182,7 @@ void export_pdf_cb() { void import_cb() { char *file = fl_file_chooser("Import Overlay from File?", "*.ps", filename); - if(file) + if (file) psed_p->import(file); } @@ -474,7 +473,6 @@ int main(int argc, char** argv) { my_argc = argc - optind; my_argv = argv + optind; - if (bflag || dflag) { // // Batch Mode @@ -494,7 +492,6 @@ int main(int argc, char** argv) { in_fp = stdin; } - tmp_fd = m->load(in_fp); if (tmp_fd == -1) { |