[ekg2-commit] r4075 - trunk/plugins/ncurses: trunk/plugins/ncurses/old.c
SVN commit
svn w toxygen.net
Śro, 9 Lip 2008, 12:45:33 CEST
Author: darkjames
Date: 2008-07-09 12:45:33 +0200 (Wed, 09 Jul 2008)
New Revision: 4075
Modified:
trunk/plugins/ncurses/old.c
Log:
zmienna pomocnicza? OK, ale do czego?
Modified: trunk/plugins/ncurses/old.c
===================================================================
--- trunk/plugins/ncurses/old.c 2008-07-09 10:38:39 UTC (rev 4074)
+++ trunk/plugins/ncurses/old.c 2008-07-09 10:45:33 UTC (rev 4075)
@@ -2350,7 +2350,6 @@
const int promptlen = ncurses_lines ? 0 : ncurses_current->prompt_real_len;
#ifdef WITH_ASPELL
char *aspell_line = NULL;
- int mispelling = 0; /* zmienna pomocnicza */
#endif
if (line_index - line_start > input->_maxx - 9 - promptlen)
line_start += input->_maxx - 19 - promptlen;
@@ -2380,9 +2379,6 @@
#ifdef WITH_ASPELL
if (spell_checker) {
aspell_line = xmalloc(plen);
- if (line_start == 0)
- mispelling = 0;
-
spellcheck(p, aspell_line);
}
#endif
@@ -2432,9 +2428,6 @@
#ifdef WITH_ASPELL
if (spell_checker) {
aspell_line = xmalloc(linelen + 1);
- if (line_start == 0)
- mispelling = 0;
-
spellcheck(ncurses_line, aspell_line);
}
#endif
Więcej informacji o liście dyskusyjnej ekg2-commit