fix compilation with --no-nls
authorRobin Gareus <robin@gareus.org>
Sat, 15 Nov 2014 18:27:17 +0000 (19:27 +0100)
committerRobin Gareus <robin@gareus.org>
Sat, 15 Nov 2014 18:27:17 +0000 (19:27 +0100)
gtk2_ardour/midi_list_editor.cc

index 774c6fccf7da680c4c13f5a7b4988852ad3fc07b..32c87bae866e76cf30b8fc469bbc324f8ed9b134 100644 (file)
@@ -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;