diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 3d05160f4b..f6beeb1dae 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,10 +17,14 @@ past entries belonging to author(s): Viktor Szakats. */ +2010-05-03 23:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) + * contrib/hbide/ideeditor.prg + % Replaced code with __PLATFORM__* checks with hb_osNewLine() call. + 2010-05-03 18:11 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbide/idemisc.prg ! Finally added existance check for .uic files to avoid the - unending flow of strange error reports (RTE/GPF) (and subsequente + unending flow of strange error reports (RTE/GPF) (and subsequent random guessing) about problems caused by these missing files. Now HBIDE will show a clear message and quit instantly in this case. diff --git a/harbour/contrib/hbide/ideeditor.prg b/harbour/contrib/hbide/ideeditor.prg index ba8a9878fd..f389ef04f5 100644 --- a/harbour/contrib/hbide/ideeditor.prg +++ b/harbour/contrib/hbide/ideeditor.prg @@ -1971,13 +1971,7 @@ METHOD IdeEdit:copyBlockContents( aCord ) cLine := ::getLine( i + 1 ) cLine := pad( substr( cLine, nL + 1, nW ), nW ) aadd( ::aBlockCopyContents, cLine ) - #if defined( __PLATFORM__WINDOWS ) - cClip += cLine + chr( 13 ) + chr( 10 ) - #elif defined( __PLATFORM__OS2 ) - cClip += cLine + chr( 13 ) + chr( 10 ) - #elif defined( __PLATFORM__UNIX ) - cClip += cLine + chr( 10 ) - #endif + cClip += cLine + hb_osNewLine() NEXT QClipboard():new():setText( cClip )