shithub: cstory

Download patch

ref: 2b2db48588f97640928d726d63cc02cbfd5377d3
parent: 47fbf3ece7b9b7e3144e2c806d2b3c145f5370c5
author: Gabriel Ravier <gabravier@gmail.com>
date: Wed Sep 11 05:35:50 EDT 2019

Some slight formatting

Signed-off-by: Gabriel Ravier <gabravier@gmail.com>

--- a/DoConfig/DoConfig.cpp
+++ b/DoConfig/DoConfig.cpp
@@ -107,7 +107,8 @@
 	std::exit(0);
 }
 
-void activatejoy(Fl_Widget*, void*){
+void activatejoy(Fl_Widget*, void*)
+{
 	if(joystuffcontainer->active()){
 		joystuffcontainer->deactivate();
 	} else {
@@ -166,6 +167,7 @@
 	fd.close();
 	exit(0);
 }
+
 int main(int argc, char* argv[]){
 	strcpy(config_path, argv[0]);
 
@@ -216,6 +218,7 @@
 		{"Fullscreen 32-bit"},
 		{0}};
 	displaychoice->menu(screens);
+
 	joychoice = new Fl_Check_Button(205, 100, 185, 20, "Use Joypad");
 	joychoice->callback(&activatejoy);
 
@@ -258,8 +261,10 @@
 
 	joystuffcontainer->end();
 
+
 	Fl_Button *okaybutton = new Fl_Button(10, 340, 185, 30, "Okay");
 	okaybutton->callback(&write_Config);
+
 	Fl_Button *cancelbutton = new Fl_Button(205, 340, 185, 30, "Cancel");
 	cancelbutton->callback(&quit);
 
--