summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-07-06 14:39:49 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-07-06 14:39:49 +0200
commit8b15f787fb86d331ee1606a12fb106ae7522613a (patch)
tree95f49e74a626de631c2bbeb4c69e7957b83984ff /src
parentbc61c27cdf8903a1121d288d517193cb1a78d8cf (diff)
update NEWS and switch it to markdown syntax
Diffstat (limited to 'src')
-rw-r--r--src/flpsed.cxx7
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) {