mirror of
https://github.com/mintycube/dmenu.git
synced 2024-10-22 12:05:48 +00:00
dynamic options vs multi selection patch compatibility issue ref. #8
This commit is contained in:
parent
6dd910f53c
commit
452174309f
@ -33,7 +33,11 @@ readstream(FILE* stream)
|
|||||||
*p = '\0';
|
*p = '\0';
|
||||||
if (!(items[i].text = strdup(buf)))
|
if (!(items[i].text = strdup(buf)))
|
||||||
die("cannot strdup %u bytes:", strlen(buf) + 1);
|
die("cannot strdup %u bytes:", strlen(buf) + 1);
|
||||||
|
#if MULTI_SELECTION_PATCH
|
||||||
|
items[i].id = i;
|
||||||
|
#else
|
||||||
items[i].out = 0;
|
items[i].out = 0;
|
||||||
|
#endif // MULTI_SELECTION_PATCH
|
||||||
#if HIGHPRIORITY_PATCH
|
#if HIGHPRIORITY_PATCH
|
||||||
items[i].hp = arrayhas(hpitems, hplength, items[i].text);
|
items[i].hp = arrayhas(hpitems, hplength, items[i].text);
|
||||||
#endif // HIGHPRIORITY_PATCH
|
#endif // HIGHPRIORITY_PATCH
|
||||||
|
Loading…
x
Reference in New Issue
Block a user