Mention code duplication
This commit is contained in:
parent
9d452bfb8d
commit
390a1b5c06
@ -763,6 +763,7 @@ static gboolean _on_timeout(gpointer data)
|
|||||||
size_t i;
|
size_t i;
|
||||||
size_t j;
|
size_t j;
|
||||||
|
|
||||||
|
/* FIXME code duplicated from _on_idle() */
|
||||||
if((path = getenv("XDG_DATA_DIRS")) != NULL
|
if((path = getenv("XDG_DATA_DIRS")) != NULL
|
||||||
&& strlen(path) > 0
|
&& strlen(path) > 0
|
||||||
&& (p = strdup(path)) != NULL)
|
&& (p = strdup(path)) != NULL)
|
||||||
|
Loading…
Reference in New Issue
Block a user