[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdemultimedia/libkcompactdisc/wmlib
From:       Adriaan de Groot <groot () kde ! org>
Date:       2007-11-09 13:18:32
Message-ID: 1194614312.839598.23908.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 734645 by adridg:

make-it-compile in the face of random syntax errors.

 M  +6 -5      plat_freebsd.c  


--- trunk/KDE/kdemultimedia/libkcompactdisc/wmlib/plat_freebsd.c #734644:734645
@@ -204,7 +204,7 @@
 
 	switch(*mode) {
 	case WM_CDM_PLAYING:
-	case WM_CDM_PAUSED;
+	case WM_CDM_PAUSED:
 		*pos = scd.what.position.absaddr.msf.minute * 60 * 75 +
 			scd.what.position.absaddr.msf.second * 75 +
 			scd.what.position.absaddr.msf.frame;
@@ -367,11 +367,11 @@
 gen_closetray(struct wm_drive *d)
 {
 #ifdef CAN_CLOSE
-	if(!d->proto.close(d)) {
-      return d->proto.open(d);
+    if(!d->proto.close(d)) {
+        return d->proto.open(d);
     } else {
-      return -1;
-    
+        return -1;
+    } 
 #else
 	/* Always succeed if the drive can't close */
 	return 0;
@@ -508,3 +508,4 @@
 }
 
 #endif
+
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic