See ChangeLog entry 2001-06-04 16:15 UTC-0400 David G. Holm <dholm@jsd-llc.com>
This commit is contained in:
@@ -1,3 +1,14 @@
|
||||
2001-06-04 16:15 UTC-0400 David G. Holm <dholm@jsd-llc.com>
|
||||
|
||||
* contrib/libnf/proper.c
|
||||
* include/hbdefs.h
|
||||
* samples\pe\editorlo.c
|
||||
* source/compiler/genc.c
|
||||
* source/rtl/gtapi.c
|
||||
! TRUE must never be declared as anything other than !0 and boolean
|
||||
results must never be compared to any constant other than 0 when
|
||||
overriding an implicit boolean test.
|
||||
|
||||
2001-06-04 16:55 GMT+3 Alexander Kresin <alex@belacy.belgorod.su>
|
||||
* source/pp/pplib.c
|
||||
* __PreProcess() works now.
|
||||
|
||||
@@ -92,8 +92,8 @@ HB_FUNC(FT_PROPER )
|
||||
cStr = hb_parc(1);
|
||||
|
||||
for( i = 0; i < iLen + 1; i++ ) {
|
||||
if( _ftIsAlpha( cStr[i] ) == TRUE ) {
|
||||
if( fCap == TRUE )
|
||||
if( _ftIsAlpha( cStr[i] ) != 0 ) {
|
||||
if( fCap != 0 )
|
||||
cStr[i] = _ftToUpper( cStr[i] );
|
||||
else cStr[i] = _ftToLower( cStr[i] );
|
||||
}
|
||||
|
||||
@@ -141,7 +141,7 @@
|
||||
#undef FALSE
|
||||
#define FALSE 0
|
||||
#undef TRUE
|
||||
#define TRUE 1
|
||||
#define TRUE !0
|
||||
|
||||
#endif /* HB_DONT_DEFINE_BASIC_TYPES */
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
#define CLIPPER void pascal
|
||||
#define FALSE 0
|
||||
#define TRUE 1
|
||||
#define TRUE !0
|
||||
#endif
|
||||
|
||||
#define CLIPPER_ACTION(action) void pascal action( void )
|
||||
|
||||
@@ -1633,7 +1633,7 @@ static HB_GENC_FUNC( hb_p_statics )
|
||||
|
||||
i = 0;
|
||||
|
||||
while( ( chr = pVar->szName[ i++ ] ) == TRUE )
|
||||
while( ( chr = pVar->szName[ i++ ] ) != 0 )
|
||||
{
|
||||
if( chr == '\'' || chr == '\\')
|
||||
fprintf( cargo->yyc, " \'\\%c\',", chr );
|
||||
|
||||
@@ -440,7 +440,7 @@ USHORT hb_gtColorToN( char * szColorString )
|
||||
|
||||
HB_TRACE(HB_TR_DEBUG, ("hb_gtColorToN(%s)", szColorString));
|
||||
|
||||
while( ( c = *szColorString++ ) == TRUE )
|
||||
while( ( c = *szColorString++ ) != 0 )
|
||||
{
|
||||
c = toupper( c );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user