Lines 1-5
Link Here
|
1 |
--- ./src/FileManager.cpp.orig 2007-07-20 23:42:55.000000000 +0400 |
1 |
--- src/FileManager.cpp.orig 2017-12-19 13:56:03.689269000 -0800 |
2 |
+++ ./src/FileManager.cpp 2007-07-20 23:43:03.000000000 +0400 |
2 |
+++ src/FileManager.cpp 2017-12-19 13:58:29.142551000 -0800 |
3 |
@@ -23,12 +23,13 @@ |
3 |
@@ -23,12 +23,13 @@ |
4 |
|
4 |
|
5 |
#include "FileManager.h" |
5 |
#include "FileManager.h" |
Lines 14-16
Link Here
|
14 |
+#include <unistd.h> |
14 |
+#include <unistd.h> |
15 |
#include <sys/stat.h> |
15 |
#include <sys/stat.h> |
16 |
} |
16 |
} |
|
|
17 |
|
18 |
@@ -378,7 +379,7 @@ |
19 |
// OR |
20 |
// we've hit the first picture going forwards and now want to go backwards |
21 |
// we display the last picture |
22 |
- if( last_op_previous && file_iterator == begin || last_op_next && file_iterator == begin ) |
23 |
+ if( (last_op_previous && file_iterator == begin) || (last_op_next && file_iterator == begin) ) |
24 |
{ |
25 |
last_op_previous = true; |
26 |
last_op_next = false; |
27 |
@@ -466,7 +467,7 @@ |
28 |
result.find("PCX") != Glib::ustring::npos || |
29 |
result.find("PGM") != Glib::ustring::npos || |
30 |
result.find("PPM") != Glib::ustring::npos || |
31 |
- result.find("TIFF") != Glib::ustring::npos && result.find("EPS") == Glib::ustring::npos || |
32 |
+ result.find("TIFF") != Glib::ustring::npos & result.find("EPS") == Glib::ustring::npos || |
33 |
result.find("X pixmap image text") != Glib::ustring::npos || |
34 |
result.find("Targa") != Glib::ustring::npos || |
35 |
result.find("PBM") != Glib::ustring::npos || |