From fd7fb797da2ad6eb4dab4f166b50ff9273a3d990 Mon Sep 17 00:00:00 2001 From: Mahyar Koshkouei Date: Mon, 8 Jan 2018 20:02:04 +0000 Subject: [PATCH] Minor code style change Signed-off-by: Mahyar Koshkouei --- .editorconfig | 15 +++++++++++++++ mpv-libretro.c | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..e9804a9 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,15 @@ +# EditorConfig is awesome: http://EditorConfig.org + +# top-most EditorConfig file +root = true + +# Unix-style newlines with a newline ending every file +[*] +end_of_line = lf +insert_final_newline = true + +# Set tab indentation +[*.{c,h}] +indent_style = tab +indent_size = 4 +max_line_length = 80 diff --git a/mpv-libretro.c b/mpv-libretro.c index 1937d43..41dca18 100644 --- a/mpv-libretro.c +++ b/mpv-libretro.c @@ -178,7 +178,7 @@ static void context_reset(void) } /* When normal mpv events are available. */ - mpv_set_wakeup_callback(mpv, on_mpv_events, NULL); + mpv_set_wakeup_callback(mpv, on_mpv_events, NULL); if(mpv_request_log_messages(mpv, "info") < 0) {