Subject: Commit: Fix spell-checking when attempting to add a capitized word.
From: Martin Sevior (msevior@mccubbin.ph.unimelb.edu.au)
Date: Thu Oct 18 2001 - 00:53:43 CDT
CVS: ----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: xap/xp/xap_Dictionary.cpp
CVS: ----------------------------------------------------------------------
Fix spell checking problem with capitilzed words.
This bug would be if you attempted to add say "Sevior" to your list of
remembered words. It would not work.
This was caused by an incorrect cast.
There was code like this:
key[i] = (char) currentChar;
Where currentChar was UT_UCSChar
This has been changed to:
key[i] = (char) (unsigned char) currentChar;
Cheers
Martin
This archive was generated by hypermail 2b25 : Thu Oct 18 2001 - 00:53:57 CDT