more formatting

This commit is contained in:
Viktor Szakats
2008-04-24 08:32:28 +00:00
parent f71e88c580
commit bfc8a013ea

View File

@@ -55,8 +55,6 @@
#include "hbapiitm.h"
#include "hbapigt.h"
HB_FUNC_EXTERN( __KEYBOARD );
HB_FUNC( XHB__KEYBOARD )
{
/* Clear the typeahead buffer without reallocating the keyboard buffer */
@@ -83,11 +81,11 @@ HB_FUNC( XHB__KEYBOARD )
{
PHB_ITEM pItem = hb_arrayGetItemPtr( pArray, ulIndex );
if ( HB_IS_NUMBER( pItem ) )
if( HB_IS_NUMBER( pItem ) )
{
hb_inkeySetText( NULL, ( ULONG ) hb_itemGetNL( pItem ) );
}
else if ( HB_IS_STRING( pItem ) )
else if( HB_IS_STRING( pItem ) )
{
hb_inkeySetText( ( const char * ) hb_itemGetCPtr( pItem ), hb_itemGetCLen( pItem ) );
}