Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 74844 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/games/bin/frozen-bubble (-1 / +3 lines)
Lines 163-170 Link Here
163
163
164
sub get_sound {
164
sub get_sound {
165
	my ($sound) = @_;
165
	my ($sound) = @_;
166
	if (ref($sound) eq 'HASH') {
166
	if (ref($sound) eq 'SDL::Sound') {
167
		return $sound{$_}{-data};
167
		return $sound{$_}{-data};
168
	} elsif (ref($sound) eq 'SDL::Music') {
169
		return $sound->{-data};
168
	} else {
170
	} else {
169
		return $$sound;
171
		return $$sound;
170
	}
172
	}

Return to bug 74844