summaryrefslogtreecommitdiffstats
path: root/tdespell2
diff options
context:
space:
mode:
Diffstat (limited to 'tdespell2')
-rw-r--r--tdespell2/plugins/ispell/makedent.cpp26
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