summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-27 15:19:56 +0100
committerDavid Robillard <d@drobilla.net>2020-11-27 15:19:56 +0100
commit8daabaaac7ac83766a156c8364f9ff054c7575bd (patch)
tree849da11850f0ebe11739f3d44019b1580966d700
parent18d6cc193bd0d9138f42f5f0d365a8529aab43b4 (diff)
downloadpatchage-8daabaaac7ac83766a156c8364f9ff054c7575bd.tar.gz
patchage-8daabaaac7ac83766a156c8364f9ff054c7575bd.tar.bz2
patchage-8daabaaac7ac83766a156c8364f9ff054c7575bd.zip
Fix indentation
-rw-r--r--src/JackDriver.hpp2
-rw-r--r--src/Patchage.hpp2
-rw-r--r--src/binary_location.h4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/JackDriver.hpp b/src/JackDriver.hpp
index 601b37e..daaf7b9 100644
--- a/src/JackDriver.hpp
+++ b/src/JackDriver.hpp
@@ -83,7 +83,7 @@ private:
static void
jack_client_registration_cb(const char* name, int registered, void* me);
static void
- jack_port_registration_cb(jack_port_id_t port_id, int registered, void* me);
+ jack_port_registration_cb(jack_port_id_t port_id, int registered, void* me);
static void jack_port_connect_cb(jack_port_id_t src,
jack_port_id_t dst,
int connect,
diff --git a/src/Patchage.hpp b/src/Patchage.hpp
index 9f5f7c9..4f68a18 100644
--- a/src/Patchage.hpp
+++ b/src/Patchage.hpp
@@ -128,7 +128,7 @@ protected:
void on_decrease_font_size();
void on_normal_font_size();
void
- on_legend_color_change(int id, const std::string& label, uint32_t rgba);
+ on_legend_color_change(int id, const std::string& label, uint32_t rgba);
void on_messages_resized(Gtk::Allocation& alloc);
bool on_scroll(GdkEventScroll* ev);
diff --git a/src/binary_location.h b/src/binary_location.h
index 25e49bf..111a04f 100644
--- a/src/binary_location.h
+++ b/src/binary_location.h
@@ -15,7 +15,7 @@
*/
#ifndef _GNU_SOURCE
- #define _GNU_SOURCE
+# define _GNU_SOURCE
#endif
#include <dlfcn.h>
@@ -31,7 +31,7 @@ binary_location()
{
Dl_info dli;
std::string loc;
- const int ret = dladdr((void*)&binary_location, &dli);
+ const int ret = dladdr((void*)&binary_location, &dli);
if (ret) {
char* const bin_loc = (char*)calloc(PATH_MAX, 1);
if (realpath(dli.dli_fname, bin_loc)) {