2009-09-18 13:09 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

* harbour/contrib/hbwin/win_com.c
    ! fixed unicode translation - trailing 0 was not set
This commit is contained in:
Przemyslaw Czerpak
2009-09-18 11:10:04 +00:00
parent db78295d67
commit 7fc1bb8e59
2 changed files with 5 additions and 1 deletions

View File

@@ -17,6 +17,10 @@
past entries belonging to author(s): Viktor Szakats.
*/
2009-09-18 13:09 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbwin/win_com.c
! fixed unicode translation - trailing 0 was not set
2009-09-18 12:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/hbsocket.c
- Reverted patch committed in 2009-09-18 12:19. It was

View File

@@ -89,7 +89,7 @@ HB_FUNC( WIN_COMOPEN )
DCB NewDCB;
hb_snprintf( szName, sizeof( szName ), "\\\\.\\COM%d", iPort + 1 );
HB_TCHAR_SETTO( tszName, szName, strlen( szName ) );
HB_TCHAR_CPTO( tszName, szName, sizeof( tszName ) - 1 );
s_PortData[ iPort ].hPort = INVALID_HANDLE_VALUE;
s_PortData[ iPort ].iFunction = FCNCREATEFILE;