diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 6e3679f507..7f29b84d7f 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,6 +16,13 @@ The license applies to all entries newer than 2009-04-28. */ +2011-12-23 19:12 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + * contrib/hbzebra/tests/testwin.prg + * contrib/hbzebra/tests/testcair.prg + * contrib/hbzebra/tests/testhpdf.prg + ! indenting + * casing + 2011-12-23 18:00 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) + contrib/hbzebra/qrcode.c * contrib/hbzebra/hbzebra.ch diff --git a/harbour/contrib/hbzebra/tests/testcair.prg b/harbour/contrib/hbzebra/tests/testcair.prg index 2d911da0de..c2bb8b6041 100644 --- a/harbour/contrib/hbzebra/tests/testcair.prg +++ b/harbour/contrib/hbzebra/tests/testcair.prg @@ -69,14 +69,14 @@ PROCEDURE DrawBarcode( hCairo, nY, nLineWidth, cType, cCode, nFlags ) ENDSWITCH IF hZebra != NIL IF hb_zebra_geterror( hZebra ) == 0 - IF EMPTY( nLineHeight ) + IF Empty( nLineHeight ) nLineHeight := 16 ENDIF cairo_move_to( hCairo, 40, nY + 13 ) cairo_show_text( hCairo, cType ) - IF LEN( cTxt := hb_zebra_getcode( hZebra ) ) < 20 - cairo_move_to( hCairo, 100, nY + 13 ) - cairo_show_text( hCairo, cTxt ) + IF Len( cTxt := hb_zebra_getcode( hZebra ) ) < 20 + cairo_move_to( hCairo, 100, nY + 13 ) + cairo_show_text( hCairo, cTxt ) ENDIF hb_zebra_draw_cairo( hZebra, hCairo, 220, nY, nLineWidth, nLineHeight ) ELSE diff --git a/harbour/contrib/hbzebra/tests/testhpdf.prg b/harbour/contrib/hbzebra/tests/testhpdf.prg index 16b2ac3d08..375f3be772 100644 --- a/harbour/contrib/hbzebra/tests/testhpdf.prg +++ b/harbour/contrib/hbzebra/tests/testhpdf.prg @@ -77,14 +77,14 @@ PROCEDURE DrawBarcode( page, nY, nLineWidth, cType, cCode, nFlags ) IF hZebra != NIL IF hb_zebra_geterror( hZebra ) == 0 - IF EMPTY( nLineHeight ) + IF Empty( nLineHeight ) nLineHeight := 16 ENDIF HPDF_Page_BeginText( page ) HPDF_Page_TextOut( page, 40, nY - 13, cType ) cTxt := hb_zebra_getcode( hZebra ) - IF LEN( cTxt ) < 20 - HPDF_Page_TextOut( page, 150, nY - 13, cTxt ) + IF Len( cTxt ) < 20 + HPDF_Page_TextOut( page, 150, nY - 13, cTxt ) ENDIF HPDF_Page_EndText( page ) hb_zebra_draw_hpdf( hZebra, page, 300, nY, nLineWidth, -nLineHeight ) diff --git a/harbour/contrib/hbzebra/tests/testwin.prg b/harbour/contrib/hbzebra/tests/testwin.prg index c26b606718..2c5b41a458 100644 --- a/harbour/contrib/hbzebra/tests/testwin.prg +++ b/harbour/contrib/hbzebra/tests/testwin.prg @@ -111,11 +111,11 @@ PROCEDURE DrawBarcode( hDC, nY, nLineWidth, cType, cCode, nFlags ) IF hZebra != NIL IF hb_zebra_geterror( hZebra ) == 0 - IF EMPTY( nLineHeight ) + IF Empty( nLineHeight ) nLineHeight := 16 ENDIF wapi_TextOut( hDC, 40 * _SCALE_, nY, cType ) - IF LEN( cTxt := hb_zebra_getcode( hZebra ) ) < 20 + IF Len( cTxt := hb_zebra_getcode( hZebra ) ) < 20 wapi_TextOut( hDC, 150 * _SCALE_, nY, cTxt ) ENDIF hb_zebra_draw_wapi( hZebra, hDC, wapi_CreateSolidBrush( 0 ), 300 * _SCALE_, nY, nLineWidth, nLineHeight * _SCALE_ )