input/lastfm: fixed variable name in GLib<2.16 code path

Should be "lastfm_user", not "lastfm_username".
This commit is contained in:
Max Kellermann 2009-11-10 20:54:17 +01:00
parent b242175e18
commit 8c0680f6b9
2 changed files with 3 additions and 1 deletions

2
NEWS
View File

@ -1,4 +1,6 @@
ver 0.15.6 (2009/??/??)
* input:
- lastfm: fixed variable name in GLib<2.16 code path
* decoders:
- ffmpeg: convert metadata
* output_thread: check again if output is open on PAUSE

View File

@ -112,7 +112,7 @@ lastfm_input_open(struct input_stream *is, const char *url)
#if GLIB_CHECK_VERSION(2,16,0)
q = g_uri_escape_string(lastfm_user, NULL, false);
#else
q = g_strdup(lastfm_username);
q = g_strdup(lastfm_user);
#endif
#if GLIB_CHECK_VERSION(2,16,0)