From 0680d0b0ee103ec003ff1dfefe76534471f85ba1 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 15 Nov 2014 19:27:17 +0100 Subject: fix compilation with --no-nls --- gtk2_ardour/midi_list_editor.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gtk2_ardour/midi_list_editor.cc') diff --git a/gtk2_ardour/midi_list_editor.cc b/gtk2_ardour/midi_list_editor.cc index 774c6fccf7..32c87bae86 100644 --- a/gtk2_ardour/midi_list_editor.cc +++ b/gtk2_ardour/midi_list_editor.cc @@ -185,7 +185,7 @@ MidiListEditor::scroll_event (GdkEventScroll* ev) MidiModel::NoteDiffCommand::Property prop (MidiModel::NoteDiffCommand::NoteNumber); bool apply = false; bool was_selected = false; - char* opname; + char const * opname; if (!view.get_path_at_pos (ev->x, ev->y, path, col, cellx, celly)) { return false; @@ -587,7 +587,7 @@ MidiListEditor::edited (const std::string& path, const std::string& text) bool apply = false; int idelta = 0; double fdelta = 0; - char* opname; + char const * opname; switch (edit_column) { case 0: // start break; -- cgit v1.2.3