commit - 02114118307cdfb8d94f5ee5621eae57627a472c
commit + cadc7a9df29cc4cbcc07dacc929a8ee39fdb8c13
blob - cd9fa6854589287ec930e4907a7911901234ed76
blob + cc9c78c1f1cdcea430644132546d71fe1aa03b9c
--- mymenu.c
+++ mymenu.c
uint32_t v;
} rgba_t;
-extern char *optarg;
-extern int optind;
-
/* Return a newly allocated (and empty) completion list */
struct completions *
compls_new(size_t length)
case DEL_LINE: {
int i;
for (i = 0; i < *textlen; ++i)
- *(*text + i) = 0;
+ (*text)[i] = 0;
update_completions(cs, *text, lines, vlines,
r->first_selected);
r->offset = 0;