Skip to content

Commit

Permalink
Minor code cosmetics
Browse files Browse the repository at this point in the history
  • Loading branch information
chiaccona committed Jan 24, 2024
1 parent 116aa6d commit c2a307e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Widgets.cc
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ bool FileMgr::event(XEvent e) {
break;
}

case ButtonPressMask:
case ButtonPress:
switch(e.xbutton.button) {
case 1: click(e.xbutton.x, e.xbutton.y); break;
case 4: scrollUp(); break;
Expand Down
1 change: 1 addition & 0 deletions src/Widgets.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
**/

#pragma once

#include <cstdio>
#include <cstdlib>
Expand Down
2 changes: 2 additions & 0 deletions src/dx7.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
**/

#pragma once

#include <cstring>
#include <string>
#include <map>
Expand Down

0 comments on commit c2a307e

Please sign in to comment.