--- a/uifw/eikctl/src/EIKSECED.CPP Thu Jul 15 18:56:19 2010 +0300
+++ b/uifw/eikctl/src/EIKSECED.CPP Thu Aug 19 10:11:06 2010 +0300
@@ -942,7 +942,8 @@
editorState->SetFlags( EAknEditorFlagNoLRNavigation |
EAknEditorFlagLatinInputModesOnly |
EAknEditorFlagNoT9 |
- EAknEditorFlagUseSCTNumericCharmap );
+ EAknEditorFlagUseSCTNumericCharmap |
+ EAknEditorFlagAvkonSecretEditor );
editorState->SetDefaultInputMode(EAknEditorSecretAlphaInputMode);
editorState->SetCurrentInputMode(EAknEditorSecretAlphaInputMode);
@@ -1208,7 +1209,7 @@
TInt textWidth( iRevealSecretText ?
iFont->TextWidthInPixels( *iSecCharArr ) :
iFont->CharWidthInPixels( KSecretChar ) * pos );
- TInt x;
+ TInt x( 0 );
if ( iExtension )
{
if ( iAlign == CGraphicsContext::ELeft )
@@ -1278,11 +1279,11 @@
TInt flags( edwinState->Flags() );
if ( aEnable )
{
- flags &= ~EEikEdwinAvkonDisableCursor;
+ flags |= EAknEditorFlagTextCursorVisible;
}
else
{
- flags |= EEikEdwinAvkonDisableCursor;
+ flags &= ~EAknEditorFlagTextCursorVisible;
}
edwinState->SetFlags( flags );
}