]> git.sesse.net Git - vlc/commitdiff
Save the Last.FM account's password correctly
authorFelix Paul Kühne <fkuehne@videolan.org>
Mon, 21 Apr 2008 19:55:39 +0000 (21:55 +0200)
committerFelix Paul Kühne <fkuehne@videolan.org>
Mon, 21 Apr 2008 19:56:00 +0000 (21:56 +0200)
*coughcough*

modules/gui/macosx/simple_prefs.m

index 3e5666444b9ecb63108c544348852a05071698eb..9dc89301f856f3fe40d3c4b4ee2eb697ef83f70c 100644 (file)
@@ -738,7 +738,7 @@ static VLCSimplePrefs *_o_sharedInstance = nil;
                 config_RemoveIntf( VLC_OBJECT( p_intf ), "audioscrobbler" );
 
             config_PutPsz( p_intf, "lastfm-username", [[o_audio_lastuser_fld stringValue] UTF8String] );
-            config_PutPsz( p_intf, "lastfm-password", [[o_audio_lastuser_fld stringValue] UTF8String] );
+            config_PutPsz( p_intf, "lastfm-password", [[o_audio_lastpwd_fld stringValue] UTF8String] );
         }
         else
             [o_audio_last_ckb setEnabled: NO];