static char* SedCmd[] = { "sed", "-Ee", 0, 0 };
/* Command used to fetch some text based on a set of rules */
-static char* FetchCmd[] = { "fetch", 0, 0 };
+static char* FetchCmd[] = { "fetch", "--", 0, 0 };
/* Default tag region text in editor windows */
static char* TagString = "Del Put Undo Redo | Font Tabs Eol | Find ";
if (PRESSED(MouseLeft)) {
paste(NULL);
} else {
- FetchCmd[1] = view_fetch(win_view(id), row, col, risfile);
+ FetchCmd[2] = view_fetch(win_view(id), row, col, risfile);
if (job_run(FetchCmd) != 0) {
SearchDir *= (win_keymodsset(ModShift) ? -1 : +1);
free(SearchTerm);
view_findstr(win_view(EDIT), SearchDir, SearchTerm);
SyncMouse = true;
}
- free(FetchCmd[1]);
+ free(FetchCmd[2]);
}
}