summaryrefslogtreecommitdiff
path: root/riscos/print.c
diff options
context:
space:
mode:
authorJohn Tytgat <joty@netsurf-browser.org>2008-07-26 23:42:24 +0000
committerJohn Tytgat <joty@netsurf-browser.org>2008-07-26 23:42:24 +0000
commit203b3289b8f590d25a2abf6df95bcaff741a7c2e (patch)
treed678df97090f80cb8d8fe54392d8341c509a2a61 /riscos/print.c
parent4ea96eac117f0ba74074fb486e2a57f85db8c697 (diff)
downloadnetsurf-203b3289b8f590d25a2abf6df95bcaff741a7c2e.tar.gz
netsurf-203b3289b8f590d25a2abf6df95bcaff741a7c2e.tar.bz2
- Include utils/config.h before each WITH_* test entiry enabling/disabling the object file.
- Add same test in corresponding header file (if there is one) - riscos/uri.c: include riscos/uri.h and have function definitions matching the declarations. - Disable PDF debug logging. svn path=/trunk/netsurf/; revision=4769
Diffstat (limited to 'riscos/print.c')
-rw-r--r--riscos/print.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/riscos/print.c b/riscos/print.c
index e75bd1d6a..10296ebf3 100644
--- a/riscos/print.c
+++ b/riscos/print.c
@@ -17,6 +17,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include "utils/config.h"
+#ifdef WITH_PRINT
+
#include <assert.h>
#include <string.h>
#include "oslib/font.h"
@@ -68,12 +71,10 @@
* \todo make use of print stylesheets
*/
-struct gui_window *print_current_window = 0;
+struct gui_window *print_current_window = NULL;
bool print_text_black = false;
bool print_active = false;
-#ifdef WITH_PRINT
-
/* 1 millipoint == 1/400 OS unit == 1/800 browser units */
static int print_prev_message = 0;