aboutsummaryrefslogtreecommitdiffstats
path: root/src/gui/NodeView.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-04-16 19:02:36 +0000
committerDavid Robillard <d@drobilla.net>2011-04-16 19:02:36 +0000
commitbf0d5e8785d4fdb258f907cc092fb3670cff020e (patch)
treed2bbaef3bbaec2b0d30ec8c612f485f4ea5ccf06 /src/gui/NodeView.cpp
parentdf347f2545a8f39d55f7320a2f43b16dc0f2f32a (diff)
downloadmachina-bf0d5e8785d4fdb258f907cc092fb3670cff020e.tar.gz
machina-bf0d5e8785d4fdb258f907cc092fb3670cff020e.tar.bz2
machina-bf0d5e8785d4fdb258f907cc092fb3670cff020e.zip
Squeeze blank lines and delete trailing whitespace.
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@3152 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/NodeView.cpp')
-rw-r--r--src/gui/NodeView.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/NodeView.cpp b/src/gui/NodeView.cpp
index 2810f99..3d29cf7 100644
--- a/src/gui/NodeView.cpp
+++ b/src/gui/NodeView.cpp
@@ -86,7 +86,7 @@ midi_note_name(uint8_t num)
const uint8_t octave = num / 12;
num -= octave * 12;
-
+
static char str[8];
snprintf(str, sizeof(str), "%s%d", notes[num], octave);
return str;
@@ -104,7 +104,7 @@ NodeView::show_label(bool show)
}
}
}
-
+
set_name("");
}