View | Details | Raw Unified | Return to bug 15747
Collapse All | Expand All

(-)prog/aspell.cpp.orig (+2 lines)
Lines 1005-1010 void check() Link Here
1005
    mapping.to_ispell();
1005
    mapping.to_ispell();
1006
  else {
1006
  else {
1007
    print_error(_("Invalid keymapping: %s"), m);
1007
    print_error(_("Invalid keymapping: %s"), m);
1008
    remove_file(new_name);
1008
    exit(-1);
1009
    exit(-1);
1009
  }
1010
  }
1010
1011
Lines 1012-1017 void check() Link Here
1012
    = new_aspell_speller(reinterpret_cast<AspellConfig *>(options.get()));
1013
    = new_aspell_speller(reinterpret_cast<AspellConfig *>(options.get()));
1013
  if (aspell_error(ret)) {
1014
  if (aspell_error(ret)) {
1014
    print_error(aspell_error_message(ret));
1015
    print_error(aspell_error_message(ret));
1016
    remove_file(new_name);
1015
    exit(1);
1017
    exit(1);
1016
  }
1018
  }
1017
1019
(-)prog/checker_string.cpp.orig (-1 / +3 lines)
Lines 56-62 CheckerString::CheckerString(AspellSpell Link Here
56
  has_repl_ = false;
56
  has_repl_ = false;
57
57
58
  checker_.reset(new_document_checker(reinterpret_cast<Speller *>(speller)));
58
  checker_.reset(new_document_checker(reinterpret_cast<Speller *>(speller)));
59
  checker_->process(cur_line_->real.data(), cur_line_->real.size());
59
  if (cur_line_->real.size()) {
60
      checker_->process(cur_line_->real.data(), cur_line_->real.size());
61
  }
60
}
62
}
61
63
62
CheckerString::~CheckerString()
64
CheckerString::~CheckerString()

Return to bug 15747