aboutsummaryrefslogtreecommitdiffstats
path: root/src/screens/UScreenEditConvert.pas
diff options
context:
space:
mode:
Diffstat (limited to 'src/screens/UScreenEditConvert.pas')
-rw-r--r--src/screens/UScreenEditConvert.pas5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/screens/UScreenEditConvert.pas b/src/screens/UScreenEditConvert.pas
index b2fb7773..8b13d410 100644
--- a/src/screens/UScreenEditConvert.pas
+++ b/src/screens/UScreenEditConvert.pas
@@ -602,15 +602,15 @@ begin
end;
procedure TScreenEditConvert.OnShow;
+{$IFDEF UseMIDIPort}
var
T: integer; // track
N: integer; // note
- {$IFDEF UseMIDIPort}
MidiTrack: TMidiTrack;
MidiEvent: PMidiEvent;
- {$ENDIF}
FileOpened: boolean;
KMIDITrackIndex, SMFTrackIndex: integer;
+{$ENDIF}
begin
inherited;
@@ -731,7 +731,6 @@ var
Y: real;
Height: real;
YSkip: real;
- TrackName: UTF8String;
begin
// draw static menu
inherited Draw;