2011-01-08 13:52 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)

* src/3rd/png/pnglconf.h
    ! Fix for watcom compilers. Patch by Tamas.

  * contrib/hbmxml/hbmxmlp.prg
    % Optimized out local variables.

  * ChangeLog
    ! Fixed missing credit for Tamas in 2011-01-07 18:30 UTC+0200 Petr Chornyj
This commit is contained in:
Viktor Szakats
2011-01-08 12:53:19 +00:00
parent fad4f89fc2
commit f9a58a4deb
3 changed files with 19 additions and 19 deletions

View File

@@ -16,6 +16,16 @@
The license applies to all entries newer than 2009-04-28.
*/
2011-01-08 13:52 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/3rd/png/pnglconf.h
! Fix for watcom compilers. Patch by Tamas.
* contrib/hbmxml/hbmxmlp.prg
% Optimized out local variables.
* ChangeLog
! Fixed missing credit for Tamas in 2011-01-07 18:30 UTC+0200 Petr Chornyj
2011-01-08 13:47 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmisc/nconvert.prg
* Removed unnecessary parantheses.
@@ -245,6 +255,7 @@
* contrib/hbmxml/hbmxml.hbp
+ hbmxml/hbmxmlp.prg
Added mxmlSetTextf()/mxmlNetTextf()/mxmlElementSetAttrf
Code by Tamas Tevesz.
2011-01-07 15:30 UTC+0200 Petr Chornyj (myorg63 at mail.ru)
* contrib/hbmxml/hbmxml.c

View File

@@ -59,12 +59,7 @@
* ... )
*/
FUNCTION mxmlElementSetAttrf( hNode, cName, cFormat, ... )
LOCAL cValue
cValue := hb_strFormat( cFormat, ... )
RETURN mxmlElementSetAttr( hNode, cName, cValue )
RETURN mxmlElementSetAttr( hNode, cName, hb_strFormat( cFormat, ... ) )
/*
* void mxmlNewTextf( mxml_node_t * node,
@@ -73,12 +68,7 @@ FUNCTION mxmlElementSetAttrf( hNode, cName, cFormat, ... )
* ... )
*/
FUNCTION mxmlNewTextf( hNode, nWhitespace, cFormat, ... )
LOCAL cText
cText := hb_strFormat( cFormat, ... )
RETURN mxmlNewText( hNode, nWhitespace, cText )
RETURN mxmlNewText( hNode, nWhitespace, hb_strFormat( cFormat, ... ) )
/*
* int mxmlSetTextf( mxml_node_t * node,
@@ -87,9 +77,4 @@ FUNCTION mxmlNewTextf( hNode, nWhitespace, cFormat, ... )
* ... )
*/
FUNCTION mxmlSetTextf( hNode, nWhitespace, cFormat, ... )
LOCAL cText
cText := hb_strFormat( cFormat, ... )
RETURN mxmlSetText( hNode, nWhitespace, cText )
RETURN mxmlSetText( hNode, nWhitespace, hb_strFormat( cFormat, ... ) )

View File

@@ -22,7 +22,11 @@
#define PNG_QUANTIZE_RED_BITS 5
#define PNG_USER_WIDTH_MAX 1000000L
#define PNG_QUANTIZE_GREEN_BITS 5
#define PNG_API_RULE 0
#if defined( __WATCOMC__ )
# define PNG_API_RULE 2
#else
# define PNG_API_RULE 0
#endif
#define PNG_QUANTIZE_BLUE_BITS 5
#define PNG_USER_CHUNK_CACHE_MAX 0
#define PNG_USER_HEIGHT_MAX 1000000L