Skip to content

Commit

Permalink
Rename "convert.h" to "event_converter.h"
Browse files Browse the repository at this point in the history
The filename gave no hint about what was converted.
  • Loading branch information
rom1v committed Sep 15, 2019
1 parent 6e38e0c commit 9463850
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ src = [
'src/command.c',
'src/control_msg.c',
'src/controller.c',
'src/convert.c',
'src/decoder.c',
'src/device.c',
'src/device_msg.c',
'src/event_converter.c',
'src/file_handler.c',
'src/fps_counter.c',
'src/input_manager.c',
Expand Down
2 changes: 1 addition & 1 deletion app/src/convert.c → app/src/event_converter.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "convert.h"
#include "event_converter.h"

#define MAP(FROM, TO) case FROM: *to = TO; return true
#define FAIL default: return false
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion app/src/input_manager.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include "input_manager.h"

#include <SDL2/SDL_assert.h>
#include "convert.h"
#include "event_converter.h"
#include "lock_util.h"
#include "log.h"

Expand Down

0 comments on commit 9463850

Please sign in to comment.