From 5ab2ebed7e301828e95f9643d55dbd65b81f8917 Mon Sep 17 00:00:00 2001 From: Ryszard Glab Date: Mon, 24 Jan 2000 12:50:20 +0000 Subject: [PATCH] ChangeLog 20000124-14:05 GMT+1 --- harbour/ChangeLog | 11 +++++++++++ harbour/source/rtl/Makefile | 1 + harbour/source/rtl/memoline.c | 2 +- harbour/source/rtl/mlpos.c | 4 ++++ 4 files changed, 17 insertions(+), 1 deletion(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 6bacd25f34..7becaaa71d 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -1,3 +1,14 @@ +20000124-14:05 GMT+1 Ryszard Glab + + *source/rtl/memoline.c + * fixed 'max' to 'HB_MAX_' + + *source/rtl/mlpos.c + * added RCS ID + + *source/rtl/Makefile + * added mlpos.c file + 20000124-13:30 GMT+1 Ryszard Glab *source/compiler/harbour.y diff --git a/harbour/source/rtl/Makefile b/harbour/source/rtl/Makefile index dcd6b7bb67..6fb947dc9d 100644 --- a/harbour/source/rtl/Makefile +++ b/harbour/source/rtl/Makefile @@ -35,6 +35,7 @@ C_SOURCES=\ memoline.c \ memvars.c \ mlcount.c \ + mlpos.c \ mouseapi.c \ mtran.c \ natmsg.c \ diff --git a/harbour/source/rtl/memoline.c b/harbour/source/rtl/memoline.c index fe38c1753e..2d4d17c136 100644 --- a/harbour/source/rtl/memoline.c +++ b/harbour/source/rtl/memoline.c @@ -70,7 +70,7 @@ HARBOUR HB_MEMOLINE( void ) case HB_CHAR_LF: ulCurLength = 0; ulLastSpace = 0; - ulLineEnd = max( ulPos - 2, ulLineBegin ) ; + ulLineEnd = HB_MAX_( ulPos - 2, ulLineBegin ) ; ulLines++; if( ulLines < ulLineNumber ) { diff --git a/harbour/source/rtl/mlpos.c b/harbour/source/rtl/mlpos.c index 9cc02e2d16..3338e605ac 100644 --- a/harbour/source/rtl/mlpos.c +++ b/harbour/source/rtl/mlpos.c @@ -1,3 +1,7 @@ +/* + * $Id$ + */ + /* * Harbour Project source code: * MLPOS() function