From b9302488408663bb168d70bf5b8aa16558c364ef Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sun, 18 May 2008 17:10:49 +0000 Subject: [PATCH] 2008-05-18 19:09 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbhpdf/tests/harupdf.prg ! "\" -> hb_OSPathSeparator(). --- harbour/ChangeLog | 4 ++++ harbour/contrib/hbhpdf/tests/harupdf.prg | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 79798805f5..f5e2db4505 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,10 @@ 2008-12-31 13:59 UTC+0100 Foo Bar */ +2008-05-18 19:09 UTC+0100 Viktor Szakats (harbour.01 syenar hu) + * contrib/hbhpdf/tests/harupdf.prg + ! "\" -> hb_OSPathSeparator(). + 2008-05-18 18:58 UTC+0100 Viktor Szakats (harbour.01 syenar hu) + contrib/rddads/tests/datad.prg + Added new test program for ADS DD/SQL functionality. diff --git a/harbour/contrib/hbhpdf/tests/harupdf.prg b/harbour/contrib/hbhpdf/tests/harupdf.prg index 82e1b4db9f..3976c84267 100644 --- a/harbour/contrib/hbhpdf/tests/harupdf.prg +++ b/harbour/contrib/hbhpdf/tests/harupdf.prg @@ -970,7 +970,7 @@ static function show_description( page, x, y, text ) Static function Page_CodePages( pdf ) Local page, outline, font2, font_name, root, i, font, dst, fname - Local cResPath := "files\" + Local cResPath := "files" + hb_OSPathSeparator() Local cAfm := cResPath+"a010013l.afm" Local cPfb := cResPath+"a010013l.pfb" Local encodings := { ; @@ -1281,7 +1281,7 @@ Static Function Page_Annotation( pdf ) Static function Page_Images( pdf ) Local font, page, dst, image, image1, image2, image3 Local x, y, angle, angle1, angle2, rad, rad1, rad2, iw, ih - Local cImagePath := "files\" + Local cImagePath := "files" + hb_OSPathSeparator() /* create default-font */ font := HPDF_GetFont(pdf, "Helvetica", NULL)