commit -- fix typing on NT (CP1252)


Subject: commit -- fix typing on NT (CP1252)
From: Paul Rohr (paul@abisource.com)
Date: Mon Jan 24 2000 - 23:25:20 CST


Revert to Jeff's old _emitChar() API, which just passed a BYTE instead of
the whole WORD.

  M src/af/ev/win/ev_Win32Keyboard.cpp
  M src/af/ev/win/ev_Win32Keyboard.h

The new WORD-passing API caused rapid crashes for me on NT, with scenarios
as simple as:

  1. Open a new empty document
  2. Type "abc"
  3. Type Ctrl-Z (to undo)
  4. Type Ctrl-Y (to redo)
  5. Type Ctrl-Z (to undo)
  6. Boom! One of the UT_ASSERT(n_evk < 256)s fires, then we crash.

Henrik, if this messes anything up for you, let me know and we'll figure out
what the *real* fix here should be.

Paul



This archive was generated by hypermail 2b25 : Mon Jan 24 2000 - 23:20:01 CST