uae (0.8.29-7) struct_uae_wrong_fields_name.diff

Summary

 src/tui.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

    
download this patch

Patch contents

Somewhere wrong (old) names are used in accessing the preferences structure.

This is just a remainder for the upstream!!

Antonio Ospite <ospite@studenti.unina.it>

Index: trunk/src/tui.c
===================================================================
--- trunk.orig/src/tui.c	2008-06-08 14:56:32.000000000 +0000
+++ trunk/src/tui.c	2008-06-08 15:00:44.000000000 +0000
@@ -605,7 +605,7 @@
 		currprefs.sound_freq = atoi (tmp);
 	    break;
 	 case 5:
-	    currprefs.stereo = (currprefs.stereo + 1) % 3;
+	    currprefs.sound_stereo = (currprefs.sound_stereo + 1) % 3;
 	    break;
 	}
     }