Mirror of the Vim source from https://github.com/vim/vim
リビジョン | 8c8d07318d8d0b1bcfbd395ae7aeec6813725b33 (tree) |
---|---|
日時 | 2006-09-05 22:37:47 |
作者 | vimboss |
コミッター | vimboss |
updated for version 7.0-086
@@ -3426,8 +3426,10 @@ | ||
3426 | 3426 | || dict_add_nr_str(dict, "col", (long)qfp->qf_col, NULL) == FAIL |
3427 | 3427 | || dict_add_nr_str(dict, "vcol", (long)qfp->qf_viscol, NULL) == FAIL |
3428 | 3428 | || dict_add_nr_str(dict, "nr", (long)qfp->qf_nr, NULL) == FAIL |
3429 | - || dict_add_nr_str(dict, "pattern", 0L, qfp->qf_pattern) == FAIL | |
3430 | - || dict_add_nr_str(dict, "text", 0L, qfp->qf_text) == FAIL | |
3429 | + || dict_add_nr_str(dict, "pattern", 0L, | |
3430 | + qfp->qf_pattern == NULL ? (char_u *)"" : qfp->qf_pattern) == FAIL | |
3431 | + || dict_add_nr_str(dict, "text", 0L, | |
3432 | + qfp->qf_text == NULL ? (char_u *)"" : qfp->qf_text) == FAIL | |
3431 | 3433 | || dict_add_nr_str(dict, "type", 0L, buf) == FAIL |
3432 | 3434 | || dict_add_nr_str(dict, "valid", (long)qfp->qf_valid, NULL) == FAIL) |
3433 | 3435 | return FAIL; |
@@ -667,6 +667,8 @@ | ||
667 | 667 | static int included_patches[] = |
668 | 668 | { /* Add new patch number below this line */ |
669 | 669 | /**/ |
670 | + 86, | |
671 | +/**/ | |
670 | 672 | 85, |
671 | 673 | /**/ |
672 | 674 | 84, |