+2000-09-11 Juergen Vigna <jug@sad.it>
+
+ * src/spellchecker.C (sc_accept_word): change to add_to_session.
+
+ * src/vspace.C (nextToken): fixed error with number 0cm as unvalid.
+
2000-09-08 Juergen Vigna <jug@sad.it>
* src/lyx_gui.C (create_forms): don't display the "default" entry as
static inline
void sc_accept_word(char const *word)
{
- pspell_manager_add_to_personal(sc, word);
+ pspell_manager_add_to_session(sc, word);
}
static inline
if (number_index > 3) return 'E'; // Error
string buffer = data.substr(0, i + 1).c_str();
double x = strToDbl(buffer);
- if (x) {
+ if (x || (buffer[0] == '0')) {
number[number_index] = x;
lyx_advance (data, i + 1);
++number_index;