xvnkb-0.2.8a.patch 562 B

1234567891011121314151617
  1. diff -ur xvnkb-0.2.8/visckey.c xvnkb-0.2.8-new/visckey.c
  2. --- xvnkb-0.2.8/visckey.c 2004-01-17 05:19:17.000000000 +0700
  3. +++ xvnkb-0.2.8-new/visckey.c 2004-03-03 04:20:44.000000000 +0700
  4. @@ -423,8 +423,11 @@
  5. /*----------------------------------------------------------------------------*/
  6. inline void VKClearBuffer()
  7. {
  8. - tempoff = count = *word = vpc = 0;
  9. + tempoff = count = *word = 0;
  10. +#ifdef VK_CHECK_SPELLING
  11. + vpc = 0;
  12. vp = -1;
  13. +#endif
  14. }
  15. /*----------------------------------------------------------------------------*/
  16. inline long VKBackspaceDelete()