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:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user