2011-10-31 12:55:41 -04:00
|
|
|
$OpenBSD: patch-cdplayer_cc,v 1.2 2011/10/31 16:55:41 stu Exp $
|
|
|
|
--- cdplayer.cc.orig Tue Feb 2 18:28:24 1999
|
|
|
|
+++ cdplayer.cc Sun Oct 30 13:07:48 2011
|
|
|
|
@@ -29,7 +29,7 @@ class button { (private)
|
2006-01-08 10:44:50 -05:00
|
|
|
public:
|
|
|
|
button (char *s) {state=0; strcpy (name, s);}
|
|
|
|
~button () {}
|
|
|
|
- set (int i) {
|
|
|
|
+ void set (int i) {
|
|
|
|
if (state != i) {
|
|
|
|
state = i;
|
|
|
|
if (state == 0)
|