From 324e27ef99d224a360879cd1d76202c8a274a8a6 Mon Sep 17 00:00:00 2001 From: Przemyslaw Czerpak Date: Wed, 2 Jun 2010 16:53:20 +0000 Subject: [PATCH] 2010-06-02 18:52 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/pp/pplib.c * harbour/src/vm/estack.c * harbour/src/common/hbver.c * harbour/src/common/hbdate.c * harbour/src/rtl/gtcrs/gtcrs.c * harbour/src/rtl/hbgtcore.c * harbour/src/rdd/wafunc.c * harbour/src/compiler/hbmain.c * harbour/src/compiler/cmdcheck.c * harbour/src/compiler/genhrb.c * harbour/src/compiler/genobj32.c * harbour/src/compiler/hbusage.c * harbour/src/compiler/hbgenerr.c * harbour/contrib/hbct/ctnet.c * harbour/contrib/xhb/datesxhb.c * harbour/contrib/hbfbird/firebird.c * harbour/contrib/hbpgsql/postgres.c * harbour/contrib/rddads/adsfunc.c * harbour/contrib/rddads/ads1.c * harbour/contrib/hbtip/utils.c * formatting --- harbour/ChangeLog | 23 +++++++++++++++++++++++ harbour/contrib/hbct/ctnet.c | 2 +- harbour/contrib/hbfbird/firebird.c | 28 ++++++++++++++-------------- harbour/contrib/hbpgsql/postgres.c | 13 +++++++------ harbour/contrib/hbtip/utils.c | 9 +++++---- harbour/contrib/rddads/ads1.c | 14 +++++++------- harbour/contrib/rddads/adsfunc.c | 4 ++-- harbour/contrib/xhb/datesxhb.c | 2 +- harbour/src/common/hbdate.c | 2 +- harbour/src/common/hbver.c | 22 +++++++++++----------- harbour/src/compiler/cmdcheck.c | 6 +++--- harbour/src/compiler/genhrb.c | 2 +- harbour/src/compiler/genobj32.c | 2 +- harbour/src/compiler/hbgenerr.c | 4 ++-- harbour/src/compiler/hbmain.c | 12 ++++++------ harbour/src/compiler/hbusage.c | 2 +- harbour/src/pp/pplib.c | 2 +- harbour/src/rdd/wafunc.c | 2 +- harbour/src/rtl/gtcrs/gtcrs.c | 6 +++--- harbour/src/rtl/hbgtcore.c | 2 +- harbour/src/vm/estack.c | 8 ++++---- 21 files changed, 96 insertions(+), 71 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 9f2ed264dc..f25fcf8643 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,29 @@ past entries belonging to author(s): Viktor Szakats. */ +2010-06-02 18:52 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/src/pp/pplib.c + * harbour/src/vm/estack.c + * harbour/src/common/hbver.c + * harbour/src/common/hbdate.c + * harbour/src/rtl/gtcrs/gtcrs.c + * harbour/src/rtl/hbgtcore.c + * harbour/src/rdd/wafunc.c + * harbour/src/compiler/hbmain.c + * harbour/src/compiler/cmdcheck.c + * harbour/src/compiler/genhrb.c + * harbour/src/compiler/genobj32.c + * harbour/src/compiler/hbusage.c + * harbour/src/compiler/hbgenerr.c + * harbour/contrib/hbct/ctnet.c + * harbour/contrib/xhb/datesxhb.c + * harbour/contrib/hbfbird/firebird.c + * harbour/contrib/hbpgsql/postgres.c + * harbour/contrib/rddads/adsfunc.c + * harbour/contrib/rddads/ads1.c + * harbour/contrib/hbtip/utils.c + * formatting + 2010-06-02 17:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * utils/hbmk2/hbmk2.prg % Using precompiled regexp. diff --git a/harbour/contrib/hbct/ctnet.c b/harbour/contrib/hbct/ctnet.c index bef65bf1a1..c99f1ba559 100644 --- a/harbour/contrib/hbct/ctnet.c +++ b/harbour/contrib/hbct/ctnet.c @@ -193,7 +193,7 @@ HB_FUNC( NETREDIR ) char szFunction[ 128 ]; hb_snprintf( szFunction, sizeof( szFunction ), "NETREDIR( \"%s\", \"%s\", \"%s\" )", - hb_parcx( 1 ), hb_parcx( 2 ), hb_parcx( 3 ) ); + hb_parcx( 1 ), hb_parcx( 2 ), hb_parcx( 3 ) ); pError = hb_errRT_New( ES_ERROR, "CT", diff --git a/harbour/contrib/hbfbird/firebird.c b/harbour/contrib/hbfbird/firebird.c index 2913cf1d32..c6369b7bc8 100644 --- a/harbour/contrib/hbfbird/firebird.c +++ b/harbour/contrib/hbfbird/firebird.c @@ -137,8 +137,8 @@ HB_FUNC( FBCREATEDB ) unsigned short dialect = ( unsigned short ) hb_parni( 6 ); hb_snprintf( create_db, sizeof( create_db ), - "CREATE DATABASE '%s' USER '%s' PASSWORD '%s' PAGE_SIZE = %i DEFAULT CHARACTER SET %s", - db_name, user, pass, page, charset ); + "CREATE DATABASE '%s' USER '%s' PASSWORD '%s' PAGE_SIZE = %i DEFAULT CHARACTER SET %s", + db_name, user, pass, page, charset ); if( isc_dsql_execute_immediate( status, &newdb, &trans, 0, create_db, dialect, NULL ) ) hb_retnl( isc_sqlcode( status ) ); @@ -651,22 +651,22 @@ HB_FUNC( FBGETDATA ) if( value >= 0 ) hb_snprintf( data, sizeof( data ), "%*" ISC_INT64_FORMAT "d.%0*" ISC_INT64_FORMAT "d", - field_width - 1 + dscale, - ( ISC_INT64 ) value / tens, - -dscale, - ( ISC_INT64 ) value % tens ); + field_width - 1 + dscale, + ( ISC_INT64 ) value / tens, + -dscale, + ( ISC_INT64 ) value % tens ); else if( ( value / tens ) != 0 ) hb_snprintf( data, sizeof( data ), "%*" ISC_INT64_FORMAT "d.%0*" ISC_INT64_FORMAT "d", - field_width - 1 + dscale, - ( ISC_INT64 ) ( value / tens ), - -dscale, - ( ISC_INT64 ) -( value % tens ) ); + field_width - 1 + dscale, + ( ISC_INT64 ) ( value / tens ), + -dscale, + ( ISC_INT64 ) -( value % tens ) ); else hb_snprintf( data, sizeof( data ), "%*s.%0*" ISC_INT64_FORMAT "d", - field_width - 1 + dscale, - "-0", - -dscale, - ( ISC_INT64 ) -( value % tens ) ); + field_width - 1 + dscale, + "-0", + -dscale, + ( ISC_INT64 ) -( value % tens ) ); } else if( dscale ) hb_snprintf( data, sizeof( data ), "%*" ISC_INT64_FORMAT "d%0*d", field_width, ( ISC_INT64 ) value, dscale, 0 ); diff --git a/harbour/contrib/hbpgsql/postgres.c b/harbour/contrib/hbpgsql/postgres.c index 389a2ca340..78adc8c4ba 100644 --- a/harbour/contrib/hbpgsql/postgres.c +++ b/harbour/contrib/hbpgsql/postgres.c @@ -275,12 +275,13 @@ HB_FUNC( PQCONNECT ) { char conninfo[ 512 ]; - hb_snprintf( conninfo, sizeof( conninfo ), "dbname = %s host = %s user = %s password = %s port = %i", - hb_parcx( 1 ), - hb_parcx( 2 ), - hb_parcx( 3 ), - hb_parcx( 4 ), - hb_parni( 5 ) ); + hb_snprintf( conninfo, sizeof( conninfo ), + "dbname = %s host = %s user = %s password = %s port = %i", + hb_parcx( 1 ), + hb_parcx( 2 ), + hb_parcx( 3 ), + hb_parcx( 4 ), + hb_parni( 5 ) ); hb_PGconn_ret( PQconnectdb( conninfo ) ); } diff --git a/harbour/contrib/hbtip/utils.c b/harbour/contrib/hbtip/utils.c index db3f745111..434c4e5015 100644 --- a/harbour/contrib/hbtip/utils.c +++ b/harbour/contrib/hbtip/utils.c @@ -103,10 +103,11 @@ HB_FUNC( TIP_TIMESTAMP ) } hb_snprintf( szRet, sizeof( szRet ), "%s, %d %s %d %02d:%02d:%02d %+03d%02d", - s_days[ hb_dateDOW( iYear, iMonth, iDay ) - 1 ], iDay, s_months[ iMonth - 1 ], - iYear, iHour, iMinute, iSecond, - ( int ) lOffset / 3600, - ( int ) ( lOffset % 3600 ) / 60 ); + s_days[ hb_dateDOW( iYear, iMonth, iDay ) - 1 ], + iDay, s_months[ iMonth - 1 ], iYear, + iHour, iMinute, iSecond, + ( int ) ( lOffset / 3600 ), + ( int ) ( ( lOffset % 3600 ) / 60 ) ); hb_retc( szRet ); } diff --git a/harbour/contrib/rddads/ads1.c b/harbour/contrib/rddads/ads1.c index ea0a51f193..2b4bf56947 100644 --- a/harbour/contrib/rddads/ads1.c +++ b/harbour/contrib/rddads/ads1.c @@ -2971,16 +2971,16 @@ static HB_ERRCODE adsCreate( ADSAREAP pArea, LPDBOPENINFO pCreateInfo ) case HB_FT_MEMO: case HB_FT_VARLENGTH: uiFldLen = hb_snprintf( ( char * ) ucBuffer, MAX_STR_LEN, "%.*s,%s,%d;", - ( int ) pArea->area.uiMaxFieldNameLength, - hb_dynsymName( ( PHB_DYNS ) pField->sym ), - cType, pField->uiLen ); + ( int ) pArea->area.uiMaxFieldNameLength, + hb_dynsymName( ( PHB_DYNS ) pField->sym ), + cType, pField->uiLen ); break; default: uiFldLen = hb_snprintf( ( char * ) ucBuffer, MAX_STR_LEN, "%.*s,%s,%d,%d;", - ( int ) pArea->area.uiMaxFieldNameLength, - hb_dynsymName( ( PHB_DYNS ) pField->sym ), - cType, pField->uiLen, pField->uiDec ); + ( int ) pArea->area.uiMaxFieldNameLength, + hb_dynsymName( ( PHB_DYNS ) pField->sym ), + cType, pField->uiLen, pField->uiDec ); break; } @@ -3168,7 +3168,7 @@ static HB_ERRCODE adsInfo( ADSAREAP pArea, HB_USHORT uiIndex, PHB_ITEM pItem ) AdsGetVersion( &ulMajor, &ulMinor, &ucLetter, ucDesc, &usDescLen); hb_snprintf( ( char * ) ucVersion, sizeof( ucVersion ), "%s, v%lu.%lu%c", - ( char * ) ucDesc, ( HB_ULONG ) ulMajor, ( HB_ULONG ) ulMinor, ucLetter ); + ( char * ) ucDesc, ( HB_ULONG ) ulMajor, ( HB_ULONG ) ulMinor, ucLetter ); hb_itemPutC( pItem, ( char * ) ucVersion ); break; } diff --git a/harbour/contrib/rddads/adsfunc.c b/harbour/contrib/rddads/adsfunc.c index 43a0964a28..ce4189dd0f 100644 --- a/harbour/contrib/rddads/adsfunc.c +++ b/harbour/contrib/rddads/adsfunc.c @@ -1584,11 +1584,11 @@ HB_FUNC( ADSVERSION ) { case 0: hb_snprintf( ucVersion, sizeof( ucVersion ), "%lu.%lu%c", - ( HB_ULONG ) ulMajor, ( HB_ULONG ) ulMinor, ucLetter ); + ( HB_ULONG ) ulMajor, ( HB_ULONG ) ulMinor, ucLetter ); break; case 3: hb_snprintf( ucVersion, sizeof( ucVersion ), "%s, v%lu.%lu%c", - ( char * ) ucDesc, ( HB_ULONG ) ulMajor, ( HB_ULONG ) ulMinor, ucLetter ); + ( char * ) ucDesc, ( HB_ULONG ) ulMajor, ( HB_ULONG ) ulMinor, ucLetter ); break; default: ucVersion[ 0 ] = '\0'; diff --git a/harbour/contrib/xhb/datesxhb.c b/harbour/contrib/xhb/datesxhb.c index 6fa2e227ad..715ef82a3c 100644 --- a/harbour/contrib/xhb/datesxhb.c +++ b/harbour/contrib/xhb/datesxhb.c @@ -97,7 +97,7 @@ HB_FUNC( TIMEOFDAY ) int iSeconds = hb_parni(1); iSeconds %= 3600*24; hb_snprintf( szResult, sizeof( szResult ), "%02d:%02d:%02d", - iSeconds/3600 , (iSeconds % 3600)/60, iSeconds % 60 ); + iSeconds/3600 , (iSeconds % 3600)/60, iSeconds % 60 ); } hb_retclen( szResult, 8 ); } diff --git a/harbour/src/common/hbdate.c b/harbour/src/common/hbdate.c index 8706872b80..5e2344fb2f 100644 --- a/harbour/src/common/hbdate.c +++ b/harbour/src/common/hbdate.c @@ -681,7 +681,7 @@ char * hb_timeStampStr( char * szDateTime, long lJulian, long lMilliSec ) hb_dateDecode( lJulian, &iYear, &iMonth, &iDay ); hb_timeDecode( lMilliSec, &iHour, &iMinutes, &iSeconds, &iMSec ); hb_snprintf( szDateTime, 24, "%04d-%02d-%02d %02d:%02d:%02d.%03d", - iYear, iMonth, iDay, iHour, iMinutes, iSeconds, iMSec ); + iYear, iMonth, iDay, iHour, iMinutes, iSeconds, iMSec ); szDateTime[ 23 ] = '\0'; return szDateTime; diff --git a/harbour/src/common/hbver.c b/harbour/src/common/hbver.c index 59e09bc876..262817289c 100644 --- a/harbour/src/common/hbver.c +++ b/harbour/src/common/hbver.c @@ -246,12 +246,12 @@ char * hb_verPlatform( void ) if( aulQSV[ QSV_VERSION_MINOR - 1 ] < 30 ) { hb_snprintf( pszPlatform, PLATFORM_BUF_SIZE + 1, "OS/2 %ld.%02ld", - aulQSV[ QSV_VERSION_MAJOR - 1 ] / 10, - aulQSV[ QSV_VERSION_MINOR - 1 ] ); + aulQSV[ QSV_VERSION_MAJOR - 1 ] / 10, + aulQSV[ QSV_VERSION_MINOR - 1 ] ); } else hb_snprintf( pszPlatform, PLATFORM_BUF_SIZE + 1, "OS/2 %2.2f", - ( float ) aulQSV[ QSV_VERSION_MINOR - 1 ] / 10 ); + ( float ) aulQSV[ QSV_VERSION_MINOR - 1 ] / 10 ); } else hb_snprintf( pszPlatform, PLATFORM_BUF_SIZE + 1, "OS/2" ); @@ -374,11 +374,11 @@ char * hb_verPlatform( void ) } hb_snprintf( pszPlatform, PLATFORM_BUF_SIZE + 1, "Windows%s%s %lu.%lu.%04u", - pszName, - pszWine, - osVer.dwMajorVersion, - osVer.dwMinorVersion, - LOWORD( osVer.dwBuildNumber ) ); + pszName, + pszWine, + osVer.dwMajorVersion, + osVer.dwMinorVersion, + LOWORD( osVer.dwBuildNumber ) ); /* Add service pack/other info */ @@ -857,8 +857,8 @@ char * hb_verHarbour( void ) pszVersion = ( char * ) hb_xgrab( 80 ); hb_snprintf( pszVersion, 80, "Harbour %d.%d.%d%s (Rev. %d)", - HB_VER_MAJOR, HB_VER_MINOR, HB_VER_RELEASE, HB_VER_STATUS, - hb_verSvnID() ); + HB_VER_MAJOR, HB_VER_MINOR, HB_VER_RELEASE, HB_VER_STATUS, + hb_verSvnID() ); return pszVersion; } @@ -871,7 +871,7 @@ char * hb_verPCode( void ) pszPCode = ( char * ) hb_xgrab( 24 ); hb_snprintf( pszPCode, 24, "PCode version: %d.%d", - HB_PCODE_VER >> 8, HB_PCODE_VER & 0xFF ); + HB_PCODE_VER >> 8, HB_PCODE_VER & 0xFF ); return pszPCode; } diff --git a/harbour/src/compiler/cmdcheck.c b/harbour/src/compiler/cmdcheck.c index c3e03c8228..02973c7fba 100644 --- a/harbour/src/compiler/cmdcheck.c +++ b/harbour/src/compiler/cmdcheck.c @@ -105,7 +105,7 @@ static void hb_notSupportedInfo( HB_COMP_DECL, const char *szSwitch ) char buffer[ 512 ]; hb_snprintf( buffer, sizeof( buffer ), - "Not yet supported command line option: %s\n", szSwitch ); + "Not yet supported command line option: %s\n", szSwitch ); hb_compOutStd( HB_COMP_PARAM, buffer ); } @@ -667,8 +667,8 @@ static void hb_compChkEnvironVar( HB_COMP_DECL, const char *szSwitch ) else { hb_snprintf( HB_COMP_PARAM->szPrefix, - sizeof( HB_COMP_PARAM->szPrefix ), - "%08lX_", PackDateTime() ); + sizeof( HB_COMP_PARAM->szPrefix ), + "%08lX_", PackDateTime() ); } break; } diff --git a/harbour/src/compiler/genhrb.c b/harbour/src/compiler/genhrb.c index 2ecfc38541..eaca7d538c 100644 --- a/harbour/src/compiler/genhrb.c +++ b/harbour/src/compiler/genhrb.c @@ -159,7 +159,7 @@ void hb_compGenPortObj( HB_COMP_DECL, PHB_FNAME pFileName ) { char buffer[ 80 + HB_PATH_MAX - 1 ]; hb_snprintf( buffer, sizeof( buffer ), - "Generating Harbour Portable Object output to \'%s\'... ", szFileName ); + "Generating Harbour Portable Object output to \'%s\'... ", szFileName ); hb_compOutStd( HB_COMP_PARAM, buffer ); } diff --git a/harbour/src/compiler/genobj32.c b/harbour/src/compiler/genobj32.c index 2a30c04317..2a37fcbf89 100644 --- a/harbour/src/compiler/genobj32.c +++ b/harbour/src/compiler/genobj32.c @@ -632,7 +632,7 @@ void hb_compGenObj32( HB_COMP_DECL, PHB_FNAME pFileName ) { char buffer[ 80 + HB_PATH_MAX - 1 ]; hb_snprintf( buffer, sizeof( buffer ), - "Generating Windows/DOS OBJ32 output to \'%s\'... ", szFileName ); + "Generating Windows/DOS OBJ32 output to \'%s\'... ", szFileName ); hb_compOutStd( HB_COMP_PARAM, buffer ); } diff --git a/harbour/src/compiler/hbgenerr.c b/harbour/src/compiler/hbgenerr.c index f30b4a21bc..ee5618b20f 100644 --- a/harbour/src/compiler/hbgenerr.c +++ b/harbour/src/compiler/hbgenerr.c @@ -161,10 +161,10 @@ static void hb_compDispMessage( HB_COMP_DECL, char cPrefix, int iValue, HB_COMP_PARAM->currModule, HB_COMP_PARAM->currLine ); else if( HB_COMP_PARAM->currLine ) hb_snprintf( buffer, sizeof( buffer ), "\n%s:%i: ", - HB_COMP_PARAM->currModule, HB_COMP_PARAM->currLine ); + HB_COMP_PARAM->currModule, HB_COMP_PARAM->currLine ); else hb_snprintf( buffer, sizeof( buffer ), "\n%s:%s ", - HB_COMP_PARAM->currModule, szPar2 ); + HB_COMP_PARAM->currModule, szPar2 ); hb_compOutErr( HB_COMP_PARAM, buffer ); } diff --git a/harbour/src/compiler/hbmain.c b/harbour/src/compiler/hbmain.c index 2215feb59f..6f752b3ea1 100644 --- a/harbour/src/compiler/hbmain.c +++ b/harbour/src/compiler/hbmain.c @@ -204,7 +204,7 @@ static int hb_compReadClpFile( HB_COMP_DECL, const char * szClpFile ) { /* TODO: Clipper compatible error */ hb_snprintf( buffer, sizeof( buffer ), - "Cannot open input file: %s\n", szClpFile ); + "Cannot open input file: %s\n", szClpFile ); hb_compOutErr( HB_COMP_PARAM, buffer ); iStatus = EXIT_FAILURE; } @@ -439,8 +439,8 @@ void hb_compVariableAdd( HB_COMP_DECL, const char * szVarName, PHB_VARTYPE pVarT { char buffer[ 80 ]; hb_snprintf( buffer, sizeof( buffer ), - "Wrong type of codeblock parameter, is: %d, should be: %d\n", - HB_COMP_PARAM->iVarScope, VS_PARAMETER ); + "Wrong type of codeblock parameter, is: %d, should be: %d\n", + HB_COMP_PARAM->iVarScope, VS_PARAMETER ); hb_compOutErr( HB_COMP_PARAM, buffer ); /* variable defined in a codeblock */ HB_COMP_PARAM->iVarScope = VS_PARAMETER; @@ -4275,9 +4275,9 @@ static int hb_compCompile( HB_COMP_DECL, const char * szPrg, const char * szBuff iStatus = EXIT_FAILURE; fGenCode = HB_FALSE; hb_snprintf( buffer, sizeof( buffer ), - "\r%i error%s\n", - HB_COMP_PARAM->iErrorCount, - HB_COMP_PARAM->iErrorCount > 1 ? "s" : "" ); + "\r%i error%s\n", + HB_COMP_PARAM->iErrorCount, + HB_COMP_PARAM->iErrorCount > 1 ? "s" : "" ); hb_compOutStd( HB_COMP_PARAM, buffer ); } else if( HB_COMP_PARAM->iExitLevel == HB_EXITLEVEL_SETEXIT ) diff --git a/harbour/src/compiler/hbusage.c b/harbour/src/compiler/hbusage.c index 386833fd1a..7bcf842602 100644 --- a/harbour/src/compiler/hbusage.c +++ b/harbour/src/compiler/hbusage.c @@ -117,7 +117,7 @@ void hb_compPrintUsage( HB_COMP_DECL, const char * szSelf ) int iLine; hb_snprintf( buffer, sizeof( buffer ), - "\nSyntax: %s [options]\n", szSelf ); + "\nSyntax: %s [options]\n", szSelf ); hb_compOutStd( HB_COMP_PARAM, buffer ); for( iLine = 0; iLine < ( int ) ( sizeof( szOptions ) / sizeof( char * ) ); iLine++ ) diff --git a/harbour/src/pp/pplib.c b/harbour/src/pp/pplib.c index 29ef78f6bf..53506cabdd 100644 --- a/harbour/src/pp/pplib.c +++ b/harbour/src/pp/pplib.c @@ -74,7 +74,7 @@ static void hb_pp_ErrorMessage( void * cargo, const char * szMsgTable[], char szMsgBuf[ 1024 ]; PHB_ITEM pError; hb_snprintf( szMsgBuf, sizeof( szMsgBuf ), szMsgTable[ iCode - 1 ], - szParam1, szParam2 ); + szParam1, szParam2 ); pError = hb_errRT_New( ES_ERROR, "PP", 1001, ( HB_ULONG ) iCode, szMsgBuf, NULL, 0, EF_NONE | EF_CANDEFAULT ); hb_errLaunch( pError ); diff --git a/harbour/src/rdd/wafunc.c b/harbour/src/rdd/wafunc.c index 4868b89d69..a330cd2b2a 100644 --- a/harbour/src/rdd/wafunc.c +++ b/harbour/src/rdd/wafunc.c @@ -154,7 +154,7 @@ HB_ERRCODE hb_rddGetTempAlias( char * szAliasTmp ) for( i = 1; i < 1000; i++ ) { - hb_snprintf( szAliasTmp, 11, "__HBTMP%03i", i); + hb_snprintf( szAliasTmp, 11, "__HBTMP%03i", i ); if( hb_rddGetAliasNumber( szAliasTmp, &iArea ) != HB_SUCCESS ) return HB_SUCCESS; } diff --git a/harbour/src/rtl/gtcrs/gtcrs.c b/harbour/src/rtl/gtcrs/gtcrs.c index e120af9d8f..301455de0c 100644 --- a/harbour/src/rtl/gtcrs/gtcrs.c +++ b/harbour/src/rtl/gtcrs/gtcrs.c @@ -1340,7 +1340,7 @@ static void disp_cursor( InOutBase * ioBase ) if ( ioBase->terminal_type == TERM_LINUX ) { hb_snprintf( escseq, sizeof( escseq ), "\033[?25%c\033[?%hdc", - ioBase->cursor == SC_NONE ? 'l' : 'h', lcurs ); + ioBase->cursor == SC_NONE ? 'l' : 'h', lcurs ); write_ttyseq( ioBase, escseq ); } else if ( cv != NULL ) @@ -1704,8 +1704,8 @@ static void gt_tone( InOutBase * ioBase, double dFrequency, double dDuration ) if ( ioBase->terminal_type == TERM_LINUX && ioBase->beep != NULL ) { hb_snprintf( escseq, sizeof( escseq ), "\033[10;%hd]\033[11;%hd]%s", - ( int ) dFrequency, - ( int ) ( dDuration * 1000.0 / 18.2 ), ioBase->beep ); + ( int ) dFrequency, + ( int ) ( dDuration * 1000.0 / 18.2 ), ioBase->beep ); write_ttyseq( ioBase, escseq ); } else diff --git a/harbour/src/rtl/hbgtcore.c b/harbour/src/rtl/hbgtcore.c index 20f401f6ca..663533f379 100644 --- a/harbour/src/rtl/hbgtcore.c +++ b/harbour/src/rtl/hbgtcore.c @@ -3164,7 +3164,7 @@ static const char * hb_gt_FindDefault( void ) for( iPos = 0; iPos < s_iGtCount; iPos++ ) { hb_snprintf( szFuncName, sizeof( szFuncName ), - "HB_GT_%s_DEFAULT", s_gtInit[ iPos ]->id ); + "HB_GT_%s_DEFAULT", s_gtInit[ iPos ]->id ); if( hb_dynsymFind( szFuncName ) ) return s_gtInit[ iPos ]->id; } diff --git a/harbour/src/vm/estack.c b/harbour/src/vm/estack.c index ce290b6405..ce79b73d83 100644 --- a/harbour/src/vm/estack.c +++ b/harbour/src/vm/estack.c @@ -688,8 +688,8 @@ static void hb_stackDispLocal( void ) hb_conOutErr( hb_conNewLine(), 0 ); hb_snprintf( buffer, sizeof( buffer ), HB_I_("Virtual Machine Stack Dump at %s(%i):"), - ( *hb_stack.pBase )->item.asSymbol.value->szName, - ( *hb_stack.pBase )->item.asSymbol.stackstate->uiLineNo ); + ( *hb_stack.pBase )->item.asSymbol.value->szName, + ( *hb_stack.pBase )->item.asSymbol.stackstate->uiLineNo ); hb_conOutErr( buffer, 0 ); hb_conOutErr( hb_conNewLine(), 0 ); hb_conOutErr( "--------------------------", 0 ); @@ -726,8 +726,8 @@ static void hb_stackDispLocal( void ) { char szDateTime[ 24 ]; hb_snprintf( buffer, sizeof( buffer ), HB_I_("TIMESTAMP = \"%s\" "), - hb_timeStampStr( szDateTime, ( *pBase )->item.asDateTime.julian, - ( *pBase )->item.asDateTime.time ) ); + hb_timeStampStr( szDateTime, ( *pBase )->item.asDateTime.julian, + ( *pBase )->item.asDateTime.time ) ); } break;