From 63b355430d08a5a6a643ac3f949377086e9badda Mon Sep 17 00:00:00 2001 From: Brandon Wright Date: Wed, 20 Oct 2010 20:55:59 -0500 Subject: [PATCH] Lower the joystick threshold default to 40% to guarantee 50% on circular diagonals. Ideally, this should be sqrt(2) - 1, but users would likely wonder about a value of 41 or 42. --- gtk/src/gtk_config.cpp | 2 +- gtk/src/gtk_preferences.cpp | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/gtk/src/gtk_config.cpp b/gtk/src/gtk_config.cpp index 09f7a875..771a32db 100644 --- a/gtk/src/gtk_config.cpp +++ b/gtk/src/gtk_config.cpp @@ -104,7 +104,7 @@ Snes9xConfig::Snes9xConfig (void) { #ifdef USE_JOYSTICK joystick = NULL; - joystick_threshold = 50; + joystick_threshold = 40; #endif #ifdef USE_OPENGL diff --git a/gtk/src/gtk_preferences.cpp b/gtk/src/gtk_preferences.cpp index 820d57d5..72986b6c 100644 --- a/gtk/src/gtk_preferences.cpp +++ b/gtk/src/gtk_preferences.cpp @@ -504,10 +504,8 @@ event_about_clicked (GtkButton *widget, gpointer data) top_level->splash); monospace = pango_font_description_from_string ("Monospace 7"); - gtk_widget_modify_font (about_dialog->get_widget ("about_text_view"), monospace); - pango_font_description_free (monospace); gtk_window_set_transient_for (about_dialog->get_window (),