To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=92736


User nemeth changed the following:

                What    |Old value                 |New value
================================================================================
             Assigned to|nemeth                    |sba
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Mon Dec  1 18:24:31 +0000 
2008 -------
Fixed in CWS hunspell4thesauru.

Code check:

----- myisalpha() -----------

int myisalpha(char ch) {
  if ((unsigned char) ch < 128) return isalpha(ch);
  return 1;
}

----------- ctype calls ----------

$ grep is[a-z] phonet.cxx 
    This library is free software; you can redistribute it and/or
    License version 2.1 as published by the Free Software Foundation;
    This library is distributed in the hope that it will be useful,
int myisalpha(char ch) {
  if ((unsigned char) ch < 128) return isalpha(ch);
    /**            otherwise:  error            **/
                 &&  !isdigit ((unsigned char) *s)  &&  strchr ("(-<^$", *s) ==
NULL) {
            if (myisalpha(word[i+k])  // ...could be implied?
          if (isdigit ((unsigned char) *s)) {
                  && (i == 0  ||  ! myisalpha(word[i-1]))
                      || (! myisalpha(word[i+k0]) )))
                  &&  myisalpha(word[i-1])
                  && (! myisalpha(word[i+k0]) ))) 
                       && ! isdigit((unsigned char) *s)  &&  strchr("(-<^$",*s)
== NULL) {
                  if (myisalpha(word[i+k0])
                if (isdigit ((unsigned char) *s)) {
                    || (*s == '$'  &&  ! myisalpha(word[i+k0]))) 


-------------------------
Test dictionary (it contains PHONE definitions):
http://downloads.sourceforge.net/hunspell/en_US.zip



---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to