Attachment #496559: here's what I'll check in upstream for this for bug #617953

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

(-)src/hunspell/hunspell.cxx (-1 / +6 lines)
Line     Link Here 
 Lines 1482-1488    Link Here 
1482
      if (dash[1] == '\0') { // base word ending with dash
1482
      if (dash[1] == '\0') { // base word ending with dash
1483
        if (spell(cw)) {
1483
        if (spell(cw)) {
1484
		char * p = pSMgr->suggest_morph(cw);
1484
		char * p = pSMgr->suggest_morph(cw);
1485
		if (p) return line_tok(pSMgr->suggest_morph(cw), slst, MSEP_REC);
1485
		if (p) {
1486
		    int ret = line_tok(p, slst, MSEP_REC);
1487
		    free(p);
1488
		    return ret;
1489
		}
1490
		
1486
	}
1491
	}
1487
      } else if ((dash[1] == 'e') && (dash[2] == '\0')) { // XXX (HU) -e hat.
1492
      } else if ((dash[1] == 'e') && (dash[2] == '\0')) { // XXX (HU) -e hat.
1488
        if (spell(cw) && (spell("-e"))) {
1493
        if (spell(cw) && (spell("-e"))) {

Return to bug 617953