20000416-15:23 GMT+2 Maurilio Longo <maurilio.longo@libero.it>

This commit is contained in:
Maurilio Longo
2000-04-16 13:28:26 +00:00
parent 7ffc052cb6
commit 27ededd823
4 changed files with 15 additions and 8 deletions

View File

@@ -1,3 +1,12 @@
20000416-15:23 GMT+2 Maurilio Longo <maurilio.longo@libero.it>
* config/os2/gcc.cf
! fixed an error in ar rule ;-)
* config/os2/install.cf
% changed install rule to test existance of install dir
* source/rtl/gtos2/gtos2.c
% little typo fixed
20000416-14:19 GMT+2 Maurilio Longo <maurilio.longo@libero.it>
* config/os2/gcc.cf

View File

@@ -63,11 +63,9 @@ echo END >> __lib__.tmp
$(AR) -M < __lib__.tmp
endef
# Under OS/2 || isn't a command separator (inside a shell, that is)
# correct separator is & and del command can delete more than one file
# on a single run
# Under OS/2 || isn't a command separator (inside a shell, that is); correct separator is &
AR = ar
ARFLAGS =
AR_RULE = $(create_library) & $(RM) $@-tmp __lib__.tmp
AR_RULE = $(create_library) & $(RM) __lib__.tmp
include $(TOP)$(ROOT)config/rules.cf

View File

@@ -7,7 +7,7 @@ ifeq ($(SHLVL),) # An OS/2 command shell
INSTALL_LIST = $(subst /,\,$(INSTALL_OBJS))
OS2_INSTALL_DIR = $(subst /,\,$(INSTALL_DIR))
INSTALL_RULE =\
CMD.EXE /c FOR %f IN ($(INSTALL_LIST)) DO COPY %f $(OS2_INSTALL_DIR)
CMD.EXE /c FOR %f IN ($(INSTALL_LIST)) DO IF EXIST $(OS2_INSTALL_DIR). COPY %f $(OS2_INSTALL_DIR)
else # bash

View File

@@ -107,7 +107,7 @@ void hb_gt_Init( int iFilenoStdin, int iFilenoStdout, int iFilenoStderr )
/* TODO: Is anything else required to initialize the video subsystem?
I (Maurilio Longo) think that we should set correct codepage
COMMENT: The correct behaviour is to inherit the codepage that is
active when the program is started, which automatically
happens by not setting the codepage. If somebody wants to
@@ -376,13 +376,13 @@ void hb_gt_Scroll( USHORT usTop, USHORT usLeft, USHORT usBottom, USHORT usRight,
* with C++ compilers
*/
SHORT usRow, usCol;
USHORT uiSize; /* gtRectSize returns int */
USHORT usSize;
int iLength = ( usRight - usLeft ) + 1;
int iCount, iColOld, iColNew, iColSize;
hb_gtGetPos( &usRow, &usCol );
if( hb_gtRectSize( usTop, usLeft, usBottom, usRight, &uiSize ) == 0 )
if( hb_gtRectSize( usTop, usLeft, usBottom, usRight, &usSize ) == 0 )
{
/* NOTE: 'unsigned' is used intentionally to correctly compile
* with C++ compilers