From 234d80027d24b29d9a1c2e402db5cf7b527f9307 Mon Sep 17 00:00:00 2001 From: Pritpal Bedi Date: Mon, 31 Jan 2011 16:25:24 +0000 Subject: [PATCH] 2011-01-31 08:23 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideformat.prg % Fix to prev commit. --- harbour/ChangeLog | 4 ++++ harbour/contrib/hbide/ideformat.prg | 2 ++ 2 files changed, 6 insertions(+) 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()