fix Shift+a does not produce A in editor problem. We need to clean up isShift before we send. r=pavlov

This commit is contained in:
ftang%netscape.com 1999-10-14 23:04:57 +00:00
Родитель 3da3224f93
Коммит 47b49b14a9
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -329,9 +329,10 @@ void InitKeyPressEvent(GdkEventKey *aGEK,
else
anEvent.charCode = 0;
if (anEvent.charCode)
if (anEvent.charCode) {
anEvent.keyCode = 0;
else
anEvent.isShift = PR_FALSE;
} else
anEvent.keyCode = nsPlatformToDOMKeyCode(aGEK);
#if defined(DEBUG_akkana) || defined(DEBUG_pavlov)