diff options
Diffstat (limited to 'src/quickfix.c')
-rw-r--r-- | src/quickfix.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/quickfix.c b/src/quickfix.c index c37caa50d4..49484e0602 100644 --- a/src/quickfix.c +++ b/src/quickfix.c @@ -7209,18 +7209,18 @@ qf_add_entry_from_dict( if (first_entry) did_bufnr_emsg = FALSE; - filename = dict_get_string(d, (char_u *)"filename", TRUE); - module = dict_get_string(d, (char_u *)"module", TRUE); - bufnum = (int)dict_get_number(d, (char_u *)"bufnr"); - lnum = (int)dict_get_number(d, (char_u *)"lnum"); - end_lnum = (int)dict_get_number(d, (char_u *)"end_lnum"); - col = (int)dict_get_number(d, (char_u *)"col"); - end_col = (int)dict_get_number(d, (char_u *)"end_col"); - vcol = (int)dict_get_number(d, (char_u *)"vcol"); - nr = (int)dict_get_number(d, (char_u *)"nr"); - type = dict_get_string(d, (char_u *)"type", TRUE); - pattern = dict_get_string(d, (char_u *)"pattern", TRUE); - text = dict_get_string(d, (char_u *)"text", TRUE); + filename = dict_get_string(d, "filename", TRUE); + module = dict_get_string(d, "module", TRUE); + bufnum = (int)dict_get_number(d, "bufnr"); + lnum = (int)dict_get_number(d, "lnum"); + end_lnum = (int)dict_get_number(d, "end_lnum"); + col = (int)dict_get_number(d, "col"); + end_col = (int)dict_get_number(d, "end_col"); + vcol = (int)dict_get_number(d, "vcol"); + nr = (int)dict_get_number(d, "nr"); + type = dict_get_string(d, "type", TRUE); + pattern = dict_get_string(d, "pattern", TRUE); + text = dict_get_string(d, "text", TRUE); if (text == NULL) text = vim_strsave((char_u *)""); @@ -7243,7 +7243,7 @@ qf_add_entry_from_dict( // If the 'valid' field is present it overrules the detected value. if (dict_has_key(d, "valid")) - valid = (int)dict_get_bool(d, (char_u *)"valid", FALSE); + valid = (int)dict_get_bool(d, "valid", FALSE); status = qf_add_entry(qfl, NULL, // dir @@ -7419,7 +7419,7 @@ qf_setprop_title(qf_info_T *qi, int qf_idx, dict_T *what, dictitem_T *di) return FAIL; vim_free(qfl->qf_title); - qfl->qf_title = dict_get_string(what, (char_u *)"title", TRUE); + qfl->qf_title = dict_get_string(what, "title", TRUE); if (qf_idx == qi->qf_curlist) qf_update_win_titlevar(qi); |