aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/sidplay_plugin.cxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/decoder/sidplay_plugin.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/decoder/sidplay_plugin.cxx b/src/decoder/sidplay_plugin.cxx
index 5228dbe89..84afd7add 100644
--- a/src/decoder/sidplay_plugin.cxx
+++ b/src/decoder/sidplay_plugin.cxx
@@ -52,7 +52,8 @@ sidplay_init(const struct config_param *param)
songlength_file=config_get_block_string(param,
"songlength_database", NULL);
if(songlength_file) {
- if(g_file_get_contents(songlength_file, &songlen_data, &songlen_data_size, NULL)) {
+ if (g_file_get_contents(songlength_file, &songlen_data,
+ &songlen_data_size, &err)) {
/* replace any ; comment characters with # */
for(int i=0; i<songlen_data_size; i++)
if(songlen_data[i]==';') songlen_data[i]='#';