Skip to content

Commit 6f40c1b

Browse files
committed
[css2] Bug fix that was causing image problems (this may not be the definitive bug fix from Jan)
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%40686
1 parent e8131e9 commit 6f40c1b

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

css2/bin/Attic/html2ps

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3816,9 +3816,9 @@ sub DSC {
38163816
last S;
38173817
}
38183818
if($line=~/^\[(.*) (\d+) $io\]$/) {
3819-
$li=$BM[$2]=~y/\n/\n/+2;
3819+
$li=$BM[$ix[$2]]=~y/\n/\n/+2;
38203820
$line="\/picstr $WS[$ix[$2]] string D\n$1\n"
3821-
."%%BeginData: $li Hex Lines\n$val[$3]\n$BM[$2]\n%%EndData";
3821+
."%%BeginData: $li Hex Lines\n$val[$3]\n$BM[$ix[$2]]\n%%EndData";
38223822
last S;
38233823
}
38243824
if($line=~/^\((.*)\)$/) {

css2/bin/html2ps

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3816,9 +3816,9 @@ sub DSC {
38163816
last S;
38173817
}
38183818
if($line=~/^\[(.*) (\d+) $io\]$/) {
3819-
$li=$BM[$2]=~y/\n/\n/+2;
3819+
$li=$BM[$ix[$2]]=~y/\n/\n/+2;
38203820
$line="\/picstr $WS[$ix[$2]] string D\n$1\n"
3821-
."%%BeginData: $li Hex Lines\n$val[$3]\n$BM[$2]\n%%EndData";
3821+
."%%BeginData: $li Hex Lines\n$val[$3]\n$BM[$ix[$2]]\n%%EndData";
38223822
last S;
38233823
}
38243824
if($line=~/^\((.*)\)$/) {

0 commit comments

Comments
 (0)