diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-12-27 19:34:50 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-12-27 19:34:50 +0900 |
commit | 9468d05e3d2c56d4287ef464a31f21a689ad7e14 (patch) | |
tree | adf22710dca7ba948cfbd53e82036ea854727e64 /tdespell2 | |
parent | 225e0d0b0f6d86433af9ee534e3a4d298289bc1d (diff) | |
download | tdelibs-9468d05e3d2c56d4287ef464a31f21a689ad7e14.tar.gz tdelibs-9468d05e3d2c56d4287ef464a31f21a689ad7e14.zip |
Fixed second pass uncrustify's code formatting offending files.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdespell2')
-rw-r--r-- | tdespell2/plugins/ispell/makedent.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/tdespell2/plugins/ispell/makedent.cpp b/tdespell2/plugins/ispell/makedent.cpp index 407d5e2fb..5ed72215a 100644 --- a/tdespell2/plugins/ispell/makedent.cpp +++ b/tdespell2/plugins/ispell/makedent.cpp @@ -233,7 +233,7 @@ ichar_t * icharcpy P ((ichar_t * out, ichar_t * in)); int icharlen P ((ichar_t * str)); int icharcmp P ((ichar_t * s1, ichar_t * s2)); int icharncmp P ((ichar_t * s1, ichar_t * s2, int n)); -#endif /* ICHAR_IS_CHAR */ +#endif /*static int has_marker;*/ @@ -343,7 +343,7 @@ int ISpellChecker::addvheader ( struct dent *dp) dp->flagfield |= (ALLCAPS | MOREVARIANTS); return 0; } -#endif /* NO_CAPITALIZATION_SUPPORT */ +#endif /* ** Combine and resolve the entries describing two capitalizations of the same @@ -500,7 +500,7 @@ ISpellChecker::stringcharlen (char *bufp, int canonical) #ifdef SLOWMULTIPLY static char * sp[MAXSTRINGCHARS]; static int inited = 0; -#endif /* SLOWMULTIPLY */ +#endif char * bufcur; char * stringcur; int stringno; @@ -515,7 +515,7 @@ ISpellChecker::stringcharlen (char *bufp, int canonical) for (stringno = 0; stringno < MAXSTRINGCHARS; stringno++) sp[stringno] = &hashheader.stringchars[stringno][0]; } -#endif /* SLOWMULTIPLY */ +#endif lowstringno = 0; highstringno = m_hashheader.nstrchars - 1; dupwanted = canonical ? 0 : m_defdupchar; @@ -524,17 +524,17 @@ ISpellChecker::stringcharlen (char *bufp, int canonical) stringno = (lowstringno + highstringno) >> 1; #ifdef SLOWMULTIPLY stringcur = sp[stringno]; -#else /* SLOWMULTIPLY */ +#else stringcur = &m_hashheader.stringchars[stringno][0]; -#endif /* SLOWMULTIPLY */ +#endif bufcur = bufp; while (*stringcur) { #ifdef NO8BIT if (((*bufcur++ ^ *stringcur) & 0x7F) != 0) -#else /* NO8BIT */ +#else if (*bufcur++ != *stringcur) -#endif /* NO8BIT */ +#endif break; /* ** We can't use autoincrement above because of the @@ -550,9 +550,9 @@ ISpellChecker::stringcharlen (char *bufp, int canonical) m_laststringch = m_hashheader.stringdups[stringno]; #ifdef SLOWMULTIPLY return stringcur - sp[stringno]; -#else /* SLOWMULTIPLY */ +#else return stringcur - &m_hashheader.stringchars[stringno][0]; -#endif /* SLOWMULTIPLY */ +#endif } else --stringcur; @@ -563,12 +563,12 @@ ISpellChecker::stringcharlen (char *bufp, int canonical) highstringno = stringno - 1; else if ((*bufcur & 0x7F) > (*stringcur & 0x7F)) lowstringno = stringno + 1; -#else /* NO8BIT */ +#else if (*--bufcur < *stringcur) highstringno = stringno - 1; else if (*bufcur > *stringcur) lowstringno = stringno + 1; -#endif /* NO8BIT */ +#endif else if (dupwanted < m_hashheader.dupnos[stringno]) highstringno = stringno - 1; else @@ -846,7 +846,7 @@ icharncmp (ichar_t *s1, ichar_t *s2, int n) return *s1 - *s2; } -#endif /* ICHAR_IS_CHAR */ +#endif /* * \param istate |