diff --git a/src/udev_helper.c b/src/udev_helper.c index 1ed48a3..6a2d800 100644 --- a/src/udev_helper.c +++ b/src/udev_helper.c @@ -45,7 +45,8 @@ int udev_rules_exist(void) int add_udev_rules(void) { FILE *f = fopen("/tmp/udevhelper.sh", "wb"); - if (!f) return 1; + if (!f) + return 1; fwrite( embedded_add_udev_rules_sh, diff --git a/src/wx/AppFrame.cpp b/src/wx/AppFrame.cpp index b35a694..29af571 100644 --- a/src/wx/AppFrame.cpp +++ b/src/wx/AppFrame.cpp @@ -55,11 +55,7 @@ MainFrame::MainFrame() wxID_ANY, "palera1n - Version " + wxString(PALERAIN_VERSION), wxDefaultPosition, - #ifdef __linux__ - wxSize(520, 388), - #else - wxSize(480, 348), - #endif + wxSize(480, 348), wxDEFAULT_FRAME_STYLE & ~(wxMAXIMIZE_BOX | wxRESIZE_BORDER)) { auto* root = new wxBoxSizer(wxVERTICAL);