diff --git a/ChangeLog.txt b/ChangeLog.txt index 98f47bacc5..be7b6ec68a 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -10,6 +10,10 @@ * Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment */ +2015-07-28 01:39 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) + * src/rtl/padx.c + ! fixed typo in hb_UPad[LRC]() functions - thanks to Grigory Filatov + 2015-07-27 18:41 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/teditor.prg ! fixed hb_ULen() wrongly used instead of Len() for arrays diff --git a/src/rtl/padx.c b/src/rtl/padx.c index c90c0371dc..6155e44902 100644 --- a/src/rtl/padx.c +++ b/src/rtl/padx.c @@ -228,7 +228,7 @@ HB_FUNC( HB_UPADL ) if( ! HB_CDP_ISCUSTOM( cdp ) ) cdp = NULL; - s_hb_strPad( HB_PAD_L, NULL ); + s_hb_strPad( HB_PAD_L, cdp ); } /* right-pads a date, number, or string with spaces or supplied character */ @@ -254,7 +254,7 @@ HB_FUNC( HB_UPADR ) if( ! HB_CDP_ISCUSTOM( cdp ) ) cdp = NULL; - s_hb_strPad( HB_PAD_R, NULL ); + s_hb_strPad( HB_PAD_R, cdp ); } /* centre-pads a date, number, or string with spaces or supplied character */ @@ -280,5 +280,5 @@ HB_FUNC( HB_UPADC ) if( ! HB_CDP_ISCUSTOM( cdp ) ) cdp = NULL; - s_hb_strPad( HB_PAD_C, NULL ); + s_hb_strPad( HB_PAD_C, cdp ); }