diff --git a/src/udev_helper.c b/src/udev_helper.c index 6a2d800..1ed48a3 100644 --- a/src/udev_helper.c +++ b/src/udev_helper.c @@ -45,8 +45,7 @@ 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 29af571..b35a694 100644 --- a/src/wx/AppFrame.cpp +++ b/src/wx/AppFrame.cpp @@ -55,7 +55,11 @@ MainFrame::MainFrame() wxID_ANY, "palera1n - Version " + wxString(PALERAIN_VERSION), wxDefaultPosition, - wxSize(480, 348), + #ifdef __linux__ + wxSize(520, 388), + #else + wxSize(480, 348), + #endif wxDEFAULT_FRAME_STYLE & ~(wxMAXIMIZE_BOX | wxRESIZE_BORDER)) { auto* root = new wxBoxSizer(wxVERTICAL);