diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 9d2a0a49da..cd4f1e1846 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,6 +16,10 @@ The license applies to all entries newer than 2009-04-28. */ +2011-01-31 08:23 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + * contrib/hbide/ideformat.prg + % Fix to prev commit. + 2011-01-31 16:14 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/rtl/hbfilehi.prg % Minor optimization, cleanups. diff --git a/harbour/contrib/hbide/ideformat.prg b/harbour/contrib/hbide/ideformat.prg index a723226e1a..d29f57a536 100644 --- a/harbour/contrib/hbide/ideformat.prg +++ b/harbour/contrib/hbide/ideformat.prg @@ -184,6 +184,8 @@ METHOD IdeFormat:execEvent( cEvent, p ) METHOD IdeFormat:format( nMode ) LOCAL oEdit, aText, cBuffer + HB_SYMBOL_UNUSED( nMode ) + IF !empty( oEdit := ::oEM:getEditObjectCurrent() ) IF ::lSelOnly cBuffer := oEdit:getSelectedText()