// HP-UX 11.x doesn't have this header
#ifdef HAVE_SYS_SELECT_H
-#include <sys/select.h>
+# include <sys/select.h>
+#endif
+#ifdef HAVE_SYS_TIME_H
+# include <sys/time.h>
#endif
-#include <sys/time.h>
using boost::shared_ptr;
if (lyxrc.isp_use_input_encoding &&
params.inputenc != "default") {
string enc = (params.inputenc == "auto")
- ? params.language->encoding()->LatexName()
+ ? params.language->encoding()->latexName()
: params.inputenc;
string::size_type n = enc.length();
tmp = new char[3];
error_ = buf;
} else {
// select returned error
- error_ = _("The spell process returned an error.\nPerhaps "
+ error_ = _("The ispell process returned an error.\nPerhaps "
"it has been configured wrongly ?");
}
bool error = select(err_read);
if (error) {
- error_ = _("Could not communicate with the spell-checker program.");
+ error_ = _("Could not communicate with the ispell spellchecker process.");
return UNKNOWN_WORD;
}