From f5520f5cef8a981dfe7da7ef8c636d6177ff55f4 Mon Sep 17 00:00:00 2001
From: Dominik Riebeling <Dominik.Riebeling@gmail.com>
Date: Tue, 19 Sep 2006 16:25:41 +0000
Subject: Fix a possible breakage in pdfdraftcopy. The error would kick in when
 page numbers are not arabic numbers.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11002 a1c6a512-1295-4272-9138-f99709370657
---
 manual/pdfdraftcopy.sty | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'manual/pdfdraftcopy.sty')

diff --git a/manual/pdfdraftcopy.sty b/manual/pdfdraftcopy.sty
index 5e50bb6..4041e2c 100644
--- a/manual/pdfdraftcopy.sty
+++ b/manual/pdfdraftcopy.sty
@@ -126,7 +126,7 @@
  \addtolength\LLY{-1in}
  \addtolength\LLY{-3pt}
  \setlength\LLX{1in}
- \ifodd\thepage
+ \ifodd\c@page
  \addtolength\LLX{\oddsidemargin}\else
  \addtolength\LLX{\evensidemargin}\fi
  \setlength\URX{\textwidth}
-- 
cgit v1.1

