--- deliantra/Deliantra-Client/DC/Main.pm 2012/11/17 10:40:09 1.24 +++ deliantra/Deliantra-Client/DC/Main.pm 2014/12/24 06:12:21 1.28 @@ -513,7 +513,7 @@ sub audio_init { if ($CFG->{audio_enable}) { - DC::Audio::init $CFG->{audio_driver}; + DC::Audio::init; if ($SDL_MIXER) { audio_music_finished; @@ -1180,7 +1180,7 @@ state => $CFG->{texture_compression}, tooltip => "Use texture compression. Normally this will not reduce visual quality noticable but " . "will save a lot of memory and increase performance (and also fall prey to the ever-buggy Mac OS X software renderer). " - . "The compression algorithm can differ form card to card, so your mileage may vary. This setting is ignored in " + . "The compression algorithm can differ from card to card, so your mileage may vary. This setting is ignored in " . "forced OpenGL 1.1 mode and when using the Apple renderer.", on_changed => sub { my ($self, $value) = @_; $CFG->{texture_compression} = $value; 0 } ); @@ -1917,7 +1917,7 @@ }, on_changed => sub { my ($self, $value) = @_; - $PROFILE->{password} = pack "H*", Deliantra::Util::hash_pw $value + $PROFILE->{password} = unpack "H*", Deliantra::Util::hash_pw $value if length $value && $value ne $nullpw; 1 }, @@ -1957,7 +1957,7 @@ $vbox->add (new DC::UI::FancyFrame label => "Server Message", - tooltip => "The last message, or error, form the server.", + tooltip => "The last message, or error, from the server.", child => ($LOGIN_ERROR = new DC::UI::Label valign => 0, ellipsise => 0), ); @@ -2597,8 +2597,8 @@ $MENUPOPUP = DC::UI::Menu->new (items => [ ["Setup…\tF9" , sub { $SETUP_DIALOG->toggle_visibility }], ["Playerbook…\tTab" , sub { $PL_WINDOW ->toggle_visibility }], - ["…Statistics\tF2" , sub { toggle_player_page ($::STATS_PAGE) }], - ["…Skills\tF3" , sub { toggle_player_page ($::SKILL_PAGE) }], + ["…Statistics\tF2" , sub { toggle_player_page ($::STATS_PAGE) }], + ["…Skills\tF3" , sub { toggle_player_page ($::SKILL_PAGE) }], ["…Spells\tF4" , sub { toggle_player_page ($::SPELL_PAGE) }], ["…Inventory\tF5" , sub { toggle_player_page ($::INVENTORY_PAGE) }], ["Help Browser…\tF1" , sub { $HELP_WINDOW ->toggle_visibility }],