projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added cursor key navigation to music info screens
[rocksndiamonds.git]
/
src
/
files.c
diff --git
a/src/files.c
b/src/files.c
index a2efae2a1874ceacf48a4210c472ebcbe193e867..307b78895dd8e13c290095e3402f1355a1d7df23 100644
(file)
--- a/
src/files.c
+++ b/
src/files.c
@@
-13430,6
+13430,18
@@
void LoadMusicInfo(void)
new = &(*new)->next;
}
}
new = &(*new)->next;
}
}
+
+ // add pointers to previous list nodes
+
+ struct MusicFileInfo *node = music_file_info;
+
+ while (node != NULL)
+ {
+ if (node->next)
+ node->next->prev = node;
+
+ node = node->next;
+ }
}
static void add_helpanim_entry(int element, int action, int direction,
}
static void add_helpanim_entry(int element, int action, int direction,