summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (from parent 1: 18291a2)
raw | patch | inline | side by side (from parent 1: 18291a2)
author | Max Kellermann <max.kellermann@gmail.com> | |
Wed, 2 Aug 2017 07:29:31 +0000 (09:29 +0200) | ||
committer | Max Kellermann <max.kellermann@gmail.com> | |
Wed, 2 Aug 2017 07:29:31 +0000 (09:29 +0200) |
src/screen_queue.c | patch | blob | history |
diff --git a/src/screen_queue.c b/src/screen_queue.c
index 47eb7165eee0404db24505cf1b659124f7c012e6..bc370d338611c08b671cf9f186e5c80090dfa074 100644 (file)
--- a/src/screen_queue.c
+++ b/src/screen_queue.c
#define MAX_SONG_LENGTH 512
#ifndef NCMPC_MINI
-typedef struct
-{
- GList **list;
- GList **dir_list;
- struct mpdclient *c;
-} completion_callback_data_t;
-
static struct hscroll hscroll;
#endif
*dir_list = g_list_append(*dir_list, g_strdup(dir));
}
+typedef struct
+{
+ GList **list;
+ GList **dir_list;
+ struct mpdclient *c;
+} completion_callback_data_t;
+
static void add_pre_completion_cb(GCompletion *gcmp, gchar *line, void *data)
{
completion_callback_data_t *tmp = (completion_callback_data_t *)data;