# HG changeset patch # User Matti Hamalainen # Date 1073781602 0 # Node ID 426e443240b847fa993c106c2b88d89e967b61e1 # Parent 2bc56809ec0b54986281c92ffbc7f64fe1d74b23 Minor tweaks diff -r 2bc56809ec0b -r 426e443240b8 src/xmms-sid.h --- a/src/xmms-sid.h Sat Jan 10 23:51:04 2004 +0000 +++ b/src/xmms-sid.h Sun Jan 11 00:40:02 2004 +0000 @@ -41,7 +41,7 @@ /* * Some defines */ -/*#define DEBUG */ +#define DEBUG #undef HAVE_HARDSID_BUILDER /* HardSID-support is not working and is untested */ /* diff -r 2bc56809ec0b -r 426e443240b8 src/xs_sidplay.h --- a/src/xs_sidplay.h Sat Jan 10 23:51:04 2004 +0000 +++ b/src/xs_sidplay.h Sun Jan 11 00:40:02 2004 +0000 @@ -80,7 +80,6 @@ pcResult = xmms_get_titlestring(xmms_get_gentitle_format(), ptInput); /* Dispose all allocated memory */ - g_free(ptInput->file_ext); g_free(ptInput->date); g_free(ptInput->genre); g_free(ptInput); @@ -139,7 +138,7 @@ t_xs_tune *pResult; TTUNEINFO tuneInfo; TTUNE *testTune; - gboolean haveInfo = FALSE; + gboolean haveInfo = TRUE; gint i; /* Check if the tune exists and is readable */ @@ -157,11 +156,10 @@ haveInfo = testTune->getInfo(tuneInfo); #endif #ifdef _XS_SIDPLAY2_H - tuneInfo = testTune->getInfo(); + testTune->getInfo(tuneInfo); haveInfo = TRUE; #endif - /* Get length information (NOTE: Do not free this!) */ tuneLen = xs_songlen_get(pcFilename);